ShichenLiu / CondenseNet

CondenseNet: Light weighted CNN for mobile devices
MIT License
694 stars 131 forks source link

Error message: variables needed for gradient computation has been modified by an inplace operation #16

Open nauman46055 opened 6 years ago

nauman46055 commented 6 years ago

Hello dear brother, i am running condensenet and densent_LGC in pycahem IDE with Python 3.6.5 :: Anaconda, Inc. with following configurations: dataset - cifar10 epochs - 200 bottleneck - 3 growth - 12-12-12 C=G=4 batch size = 64

i am getting this error exactly at 34th epoch every time. i have tried to remove 'inplace addition operations' and ' inplace=True' from Relu, but nothing has worked . Can you please help, how can it be fixed. Regards

Epoch - 31

ShichenLiu commented 5 years ago

Sorry for being late. Could you show me the command you use to train? The pytorch API changed a lot since 0.2, so I am planning to re-check the code recently to make sure it fits 0.4.