You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CornerNet/models/py_utils/kp_utils.py
Above line 193 ( mask = mask.unsqueeze(1) + mask.unsqueeze(2) ) add a line of code:tag_mean = tag_mean.unsqueeze(0)
CornerNet/models/py_utils/kp_utils.py
Above line 193 ( mask = mask.unsqueeze(1) + mask.unsqueeze(2) ) add a line of code:tag_mean = tag_mean.unsqueeze(0)
CornerNet/models/py_utils/kp_utils.py
Above line 193 ( mask = mask.unsqueeze(1) + mask.unsqueeze(2) ) add a line of code:tag_mean = tag_mean.unsqueeze(0)
This solved the problem. Thanks !
hey! i got the same error as u meet,then i use the method to solve the problem,but get another problem
IndexError: The shape of the mask [2, 128, 128] at index 0does not match the shape of the indexed tensor [1, 2, 2, 128] at index 0
i have 4 gpu and use bachsize=6,chunksize=[1,1,2,2]
I am trying to train the CornerNet on my machine but it produces the following error.
I have set
batch_size = 1
andchunk_sizes = [1]
to get rid of the out of memory error as mentioned in #4Any suggestions ?
Thanks
The text was updated successfully, but these errors were encountered: