原文:RuntimeError: one of the variables needed for gradient computation has been modified by an inplace

vgg里面的 ReLU默認的參數inplace True 當我們調用vgg結構的時候注意 要將inplace改成 False 不然會報錯 RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation ...

2018-05-28 21:26 0 2555 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM