修改跟踪算法cpu gpu切换错误
This commit is contained in:
@ -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 = float)
|
||||
gboxes = np.empty(shape=(0, 9), dtype = float)
|
||||
|
||||
|
||||
# start, end 为索引值,需要 start:(end+1)
|
||||
|
Reference in New Issue
Block a user