VCIP-RGBD / DFormer

[ICLR 2024] DFormer: Rethinking RGBD Representation Learning for Semantic Segmentation
https://yinbow.github.io/Projects/DFormer/index.html
MIT License
142 stars 24 forks source link

Continue to train on the trained model #29

Closed ascacdsaa closed 2 weeks ago

ascacdsaa commented 2 weeks ago

Dear author, can your code continue to train on the basis of the trained model? What should be changed? Thank you.

yinbow commented 2 weeks ago

You can load the weight of the trained model by adding the following code after the definition of the model at train.py (line 192):

weight=torch.load(your_model_path)['model']
model.load_state_dict(weight)
ascacdsaa commented 2 weeks ago

Thank you very much for your reply. It has been very helpful to me.