yqyao / SSD_Pytorch

support different SSDs and different scale test, support refineDet.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can not use optim.Adam

tuxiangshibie opened this issue · comments

" File "/data/tangkai/SSD_Pytorch/layers/modules/refine_multibox_loss.py", line 164, in forward
targets_weighted = conf_t[(pos + neg).gt(0)]
RuntimeError: copy_if failed to synchronize: device-side assert triggered"
when I use optim.Adam i always get this error.

I made a mistake

can you tell me how to cat all txt there ate too many txt and mass== ,please tell me how to do it?