【CondInst】 の 填坑指南


问题1:gnutls_handshake() failed: A TLS packet with unexpected length was received.

fatal: unable to access ‘https://github.com/facebookresearch/detectron2.git/’: gnutls_handshake() failed: A TLS packet with unexpected length was received.

解决方案:

执行以下代码:

git config --global http.postBuffer 2000000000

参考链接:


问题2:debug模式报错ImportError: dlopen: cannot load any more object with static TLS

File “/data3/zhanghuiyong/anaconda3/envs/CondInst/lib/python3.6/site-packages/cv2/init.py”, line 8, in
from .cv2 import *
ImportError: dlopen: cannot load any more object with static TLS

在这里插入图片描述

解决方案:

ImportError: dlopen:cannot load any more object with static TLS 的解决办法

参考链接:


问题3:Error in `xxx/bin/python’: double free or corruption (!prev): 0x0000561e68638bb0

[01/09 12:30:14 adet.trainer]: Starting training from iteration 0
Error in /data3/zhanghuiyong/anaconda3/envs/CondInst/bin/python’: double free or corruption (!prev): 0x0000561e68638bb0
Error in `/data3/zhanghuiyong/anaconda3/envs/CondInst/bin/python’: double free or corruption (!prev): 0x0000561e68638bb0
Traceback (most recent call last):
File “/data3/zhanghuiyong/anaconda3/envs/CondInst/lib/python3.6/site-packages/torch/utils/data/dataloader.py”, line 986, in _try_get_data
data = self._data_queue.get(timeout=timeout)
File “/data3/zhanghuiyong/anaconda3/envs/CondInst/lib/python3.6/multiprocessing/queues.py”, line 104, in get
if not self._poll(timeout):
File “/data3/zhanghuiyong/anaconda3/envs/CondInst/lib/python3.6/site-packages/torch/utils/data/_utils/signal_handling.py”, line 66, in handler
_error_if_any_worker_fails()
RuntimeError: DataLoader worker (pid 10736) is killed by signal: Aborted.

在这里插入图片描述

解决方案:

修改NUM_WORKERS的值,在CondInst中可通过修改 ./detectron2/detectron2/config/defaults.py 文件中的值。其他网络模型可在基本框架的dataloader处查找。在Debug调试时,将原本的值 4 改为0,训练时需要改回原值。

在这里插入图片描述

参考链接:

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值