foamliu/Deep-Image-Matting-PyTorch

AttributeError: 'DIMModel' object has no attribute 'module'

Closed this issue · 1 comments

lfxx commented

When resume training using checkpoints,get error above raised by line 38 from train.py:
'model = checkpoint['model'].module',any suggestions?@foamliu

If you're training with just one GPU, you can remove that ".module" part.