File "main.py", line 414, in main
torch.utils._load_checkpoint_for_ema(model_ema, checkpoint['model_ema'])
AttributeError: module 'torch.utils' has no attribute '_load_checkpoint_for_ema'
I think it's because the new version of torch has removed this function, what should I do?
File "main.py", line 414, in main torch.utils._load_checkpoint_for_ema(model_ema, checkpoint['model_ema']) AttributeError: module 'torch.utils' has no attribute '_load_checkpoint_for_ema' I think it's because the new version of torch has removed this function, what should I do?