【Python】
尚_佳
算法设计、Deeplearning
展开
-
cffi.error.VerificationError: LinkError: command 'gcc' failed with exit status 1
运行 https://github.com/roytseng-tw/Detectron.pytorch mask-rcnn的时候 会出现这样一个问题 还伴随着其他的一些错误,比如 gcc: error: /home/zhangdong/zhangdong/pytorch/mask-rcnn.pytorch/lib/model/roi_pooling/src/roi_pooling.cu....原创 2018-10-03 09:28:08 · 9214 阅读 · 14 评论 -
volatile was removed and now has no effect. Use `with torch.no_grad():` instead.
UserWarning: volatile was removed and now has no effect. Use `with torch.no_grad():` instead. molded_images = Variable(molded_images, volatile=True) 修改为 # Wrap in variable with torch.no_...原创 2018-10-04 10:46:10 · 15365 阅读 · 6 评论 -
AttributeError: module 'torch.nn.init' has no attribute 'xavier_uniform_'
torch0.3 报这个错误 AttributeError: module 'torch.nn.init' has no attribute 'xavier_uniform_' 解决方案 把 xavier_uniform_ 后面的下划线删了原创 2018-10-05 11:18:07 · 4932 阅读 · 0 评论