bug
木琦
这个作者很懒,什么都没留下…
展开
-
CUDA out of memory
RuntimeError: CUDA out of memory. Tried to allocate 4.35 GiB (GPU 0; 7.80 GiB total capacity; 4.37 GiB already allocated; 1.93 GiB free; 4.63 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to原创 2021-12-28 14:00:30 · 7501 阅读 · 0 评论 -
ImportError: libcudart.so.10.2: cannot open shared object file: No such file or directory
ImportError: libcudart.so.10.2: cannot open shared object file: No such file or directory这个错误是由于版本不对称导致的我的错误发生于import 某个包需要在改变cudatoolkit版本的同时,将 对应包 卸载重装即可。我这边重装的包是mmcv-full...原创 2021-12-14 16:37:36 · 10312 阅读 · 0 评论 -
wget下载出现问题
wget -b http连接-b表示在后台下载如果该连接需要登陆则添加参数–http-user=xxx --http-passwd=123456查看下载进度cat wget-log错误一:ERROR: cannot verify pjreddie.com’s certificate, issued by `/C=US/O=Let’sEncrypt/CN=Let’s Encrypt Authority X3’:Unable to locally verify the issuer’s原创 2021-11-30 17:03:31 · 429 阅读 · 0 评论 -
报错:fatal error: Python.h: No such file or directory
当出现这样的错误时:看到网上的解决办法:sudo apt-get install python3.8-devel会发现并没有解决问题另一个解决办法:sudo apt install python3.8-dev一顿操作之后(没有,只有y一下),就成功了也不知道为啥,反正就成功了。...原创 2021-11-30 11:00:18 · 1399 阅读 · 1 评论 -
avod报错:AttributeError: module ‘google.protobuf.internal.containers‘ has no attribute ‘MutableMapping
报错;AttributeError: module ‘google.protobuf.internal.containers’ has no attribute ‘MutableMapping’解决方案:版本不一致(avod) [root@localhost avod]# protoc --versionlibprotoc 3.3.0(avod) [root@localhost avod]# pip show protobufName: protobufVersion: 3.19.1Sum原创 2021-11-12 10:47:54 · 5258 阅读 · 4 评论 -
Input/output error
Traceback (most recent call last): File "./scripts/create_lmdb.py", line 143, in <module> create_lmdb(args.dataset, raw_dir, lmdb_dir, filter_file) File "./scripts/create_lmdb.py", line 65, in create_lmdb txn.commit()lmdb.Error: mdb_txn_原创 2021-09-06 15:17:25 · 3654 阅读 · 0 评论 -
module ‘tensorflow.python.ops.summary_op_util‘ has no attribute ‘skip_summary‘
module ‘tensorflow.python.ops.summary_op_util’ has no attribute ‘skip_summary’增加一行from tensorflow.python.distribute.summary_op_util import skip_summary把if summary_op_util.skip_summary() 改成if skip_summary()出自https://github.com/thunil/TecoGAN/issue转载 2021-08-25 17:10:09 · 123 阅读 · 0 评论 -
TypeError: integer argument expected, got float
TypeError: integer argument expected, got float解析:类型错误,大概意思是说:需要的是整型,但输出的是一个浮点型去看看哪里有相除的运算,给他前面加个int或者将/改成//之后就不会出现问题了原创 2021-08-18 11:01:32 · 1505 阅读 · 0 评论 -
num_works=0-----------bug1
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memor ry(shm)解决看到许多人的解决方法是让dataloader中的num_works置为0好难找,不过确实解决成功了从报错的地方找自己的dataloader.py文件的地址,我的在/root/anaconda3/envs/pytorch/lib/python3.6/site-packages/tor原创 2021-08-12 11:51:01 · 800 阅读 · 0 评论