huawei-noah / Efficient-Computing

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

TypeError: 'NoneType' object is not subscriptable #110

Closed Egorundel closed 6 months ago

Egorundel commented 11 months 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 11 months ago

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

AnShuai666 commented 10 months ago

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

Tuerte commented 10 months ago

I had the same problem. Did you solve it?