PyTorch: “ValueError: can't optimize a non-leaf Tensor” after changing pretrained model from 3 RGB Channels to 4 Channels

前端 未结 0 852
遇见更好的自我
遇见更好的自我 2021-01-20 06:26

I have been trying to change the pretrained PyTorch Densenet\'s first conv layer from 3 channels to 4 channels while maintaining its original RGB channel\'s pretrained weigh

相关标签:
回答
  • 消灭零回复
提交回复
热议问题