
【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 · 9475 阅读 · 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 · 15515 阅读 · 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 · 5038 阅读 · 0 评论