update one2n.py
This commit is contained in:
Binary file not shown.
Binary file not shown.
@ -153,8 +153,8 @@ class doBackTracks(doTracks):
|
||||
|
||||
hand_ious = []
|
||||
|
||||
hboxes = np.empty(shape=(0, 9), dtype = np.float)
|
||||
gboxes = np.empty(shape=(0, 9), dtype = np.float)
|
||||
hboxes = np.empty(shape=(0, 9), dtype = np.float64)
|
||||
gboxes = np.empty(shape=(0, 9), dtype = np.float64)
|
||||
|
||||
|
||||
# start, end 为索引值,需要 start:(end+1)
|
||||
|
@ -113,8 +113,8 @@ class doFrontTracks(doTracks):
|
||||
'''
|
||||
assert htrack.cls==0 and gtrack.cls!=0 and gtrack.cls!=9, 'Track cls is Error!'
|
||||
|
||||
hboxes = np.empty(shape=(0, 9), dtype = np.float)
|
||||
gboxes = np.empty(shape=(0, 9), dtype = np.float)
|
||||
hboxes = np.empty(shape=(0, 9), dtype = np.float64)
|
||||
gboxes = np.empty(shape=(0, 9), dtype = np.float64)
|
||||
|
||||
# start, end 为索引值,需要 start:(end+1)
|
||||
for start, end in htrack.dynamic_y2:
|
||||
|
Reference in New Issue
Block a user