SarahwXU / HiSup

MIT License
121 stars 17 forks source link

#multi-train #5

Open yyyyll0ss opened 1 year ago

yyyyll0ss commented 1 year ago

hi,this error occurs when I try to use multi_train.py,so how can i solve this error.Thank you for your outstanding work。 14bd2d45b7342e67cc39f0ead61db9a

XJKunnn commented 1 year ago

Hi, thanks for your interest.

So yet, We have not encountered this warning. This warning may caused by transpose or permute. We fix this by applying contiguous after transpose in ECA module. https://github.com/SarahwXU/HiSup/blob/a085baec4705df48b98fdd276fd46b5689db0a14/hisup/detector.py#L52-L53

New code can be tested in the fix-contiguous branch.