技术栈
getattr
营赢盈英
5 个月前
pytorch
·
python
·
ai
·
cnn
·
bug
·
getattr
Interesting bug caused by getattr
题意:由 getattr 引起的有趣的 bugI try to train 8 CNN models with the same structures simultaneously. After training a model on a batch, I need to synchronize the weights of the feature extraction layers in other 7 models.