zoukankan      html  css  js  c++  java
  • 不懂的问题

    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

  • 相关阅读:
    rabbitmq集群几个比较好的文章
    rabbitmq集群步骤
    rabbitmq安装
    查找出系统中大于50k 且小于100k 的文件并删除。
    现将文件a.txt 中的所有abc 替换成def
    统计/var/log/下有多少文件
    压缩解压目录结构不能改变
    chkconfig命令
    linux运维必须掌握
    三剑客
  • 原文地址:https://www.cnblogs.com/ya-cpp/p/10601706.html
Copyright © 2011-2022 走看看