huawei-noah / Efficient-Computing

Efficient computing methods developed by Huawei Noah's Ark Lab
1.2k stars 211 forks source link

TypeError: 'NoneType' object is not subscriptable #110

Closed Egorundel closed 8 months ago

Egorundel commented 1 year ago

Hello, I was training the network, but at some point I ran out of memory on the device. I freed up memory and wanted to run the --resume command, but I got an error: TypeError: 'NoneType' object is not subscriptable

Screenshot from 2023-11-03 09-19-44

Can you tell me what needs to be done to fix it and continue training?

lose4578 commented 1 year ago

Perhaps you can look at your folder and check that the ckpt is complete.

AnShuai666 commented 12 months ago

The same error to resume training, have you resolved this problem? Many thanks!

Tuerte commented 11 months ago

I had the same problem. Did you solve it?