Image-Fusion-Transformer icon indicating copy to clipboard operation
Image-Fusion-Transformer copied to clipboard

`with torch.no_grad()` in your `train_fusionnet_axial.py` ?

Open shinianzhihou opened this issue 3 years ago • 1 comments

In your training script, you use with torch.no_grad() in line 56 to build your nest_model.

It means only fusion_model are trained during the training process?

If I want to train on my own dataset, should I remove with torch.no_grad() ?

shinianzhihou avatar Dec 23 '21 06:12 shinianzhihou

Yes, only the fusion model is trained during the training process.

If I want to train on my own dataset, should I remove with torch.no_grad() ? Yes.

Vibashan avatar Apr 02 '22 19:04 Vibashan