不懂的问题

Traceback (most recent call last):
File "/home/user/Disk1.8T/unicoe/pytorch-ssd-2/experments/3_242_seg_merge_base512/train_vgg640_480_seg_merge_seg.py", line 269, in <module>
train_seg()
File "/home/user/Disk1.8T/unicoe/pytorch-ssd-2/experments/3_242_seg_merge_base512/train_vgg640_480_seg_merge_seg.py", line 226, in train_seg
loss_l, loss_c, loss_seg = criterion(out, bbox_targets, seg_targets)
File "/home/user/anaconda3/envs/pytorch_ssd/lib/python3.6/site-packages/torch/nn/modules/module.py", line 357, in __call__
result = self.forward(*input, **kwargs)
File "/home/user/Disk1.8T/unicoe/pytorch-ssd-2/layers/modules/multibox_seg_loss.py", line 155, in forward
conf_p = conf_data[(pos_idx+neg_idx).gt(0)].view(-1, self.num_classes)
File "/home/user/anaconda3/envs/pytorch_ssd/lib/python3.6/site-packages/torch/autograd/variable.py", line 74, in __getitem__
return MaskedSelect.apply(self, key)
File "/home/user/anaconda3/envs/pytorch_ssd/lib/python3.6/site-packages/torch/autograd/_functions/tensor.py", line 465, in forward
return tensor.masked_select(mask)
RuntimeError: cuda runtime error (77) : an illegal memory access was encountered at /opt/conda/conda-bld/pytorch_1518243271935/work/torch/lib/THC/generated/../THCReduceAll.cuh:339

转载于:https://www.cnblogs.com/ya-cpp/p/10601706.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值