![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
BUG
记录代码的一些BUG
qq_42022648
这个作者很懒,什么都没留下…
展开
-
raise UsageError(“api_key not configured (no-tty). call “ + directive)
【代码】raise UsageError(“api_key not configured (no-tty). call “ + directive)原创 2024-03-22 10:21:57 · 188 阅读 · 0 评论 -
AttributeError: ‘builtin_function_or_method‘ object has no attribute ‘shuffle‘
原因:from random import random 改正:import random原创 2024-03-15 17:37:08 · 414 阅读 · 0 评论 -
RequestsDependencyWarning: urllib3 (1.26.7) or chardet (3.0.4) doesn’t match a supported version!
在使用 tensorboard --logdir=logs 的时候报错...原创 2024-01-28 14:07:00 · 378 阅读 · 0 评论 -
AttributeError: module ‘PIL.Image‘ has no attribute ‘ANTIALIAS‘
Pillow版本问题。原创 2024-01-28 13:36:35 · 389 阅读 · 0 评论 -
ModuleNotFoundError: No module named ‘cv2‘
安装 cv2 pip install opencv-python原创 2024-01-25 13:06:58 · 332 阅读 · 0 评论 -
ModuleNotFoundError: No module named ‘qpth‘
安装qpth pip installqpth原创 2024-01-25 13:22:09 · 392 阅读 · 0 评论 -
FileNotFoundError: [Errno 2] No such file or directory
【代码】FileNotFoundError: [Errno 2] No such file or directory。原创 2024-01-25 13:38:08 · 349 阅读 · 0 评论 -
RuntimeError: An attempt has been made to start a new process before the current process has...
问题:解决:多线程问题... 设置 num_workers = 0原创 2024-01-25 13:49:35 · 353 阅读 · 0 评论 -
AssertionError: Invalid device id
问题:无效设备parser.add_argument('-gpu', default='0,1')我的设备只有一个gpu,代码用了两个gpu,改一下。parser.add_argument('-gpu', default='0')原创 2024-01-25 14:43:43 · 902 阅读 · 0 评论