How train the pytorch model with another freeze model? The loss keeps coming up with nan value… help me

后端 未结 0 1564
耶瑟儿~
耶瑟儿~ 2021-02-07 21:20

I train the pytorch model(name = A) with pre-trained model(name = B). And I wrote the code like this:

Class A(nn.Module):
blah blah,,,,

Class B(nn.Module):
blah          


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