Closed PhenomenalOnee closed 4 years ago
Hello, I was training the slim model. When i try to resume the training, it causes the following error: AttributeError: 'DataParallel' object has no attribute 'load' Can you please help?
Got the solution, change line where its loading resume model if args.resume: logging.info(f"Resume from the model {args.resume}")
net.module.load(args.resume) # modification
Hello, I was training the slim model. When i try to resume the training, it causes the following error: AttributeError: 'DataParallel' object has no attribute 'load' Can you please help?