![](https://img-blog.csdnimg.cn/20210309163143434.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Error
没有什么问题是重启解决不了的,有的话那就重装
ayiya_Oese
1234
展开
-
OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.
这种方法同样有效,但是可能会改变原有的环境中的包,谨慎使用。这种方法有效但是每开启一次终端就得设置一次。下文将介绍3个解决方法。这种方法可能会不生效。原创 2023-09-20 15:22:48 · 510 阅读 · 0 评论 -
OSError: [WinError 1455] 页面文件太小,无法完成操作
https://github.com/ultralytics/yolov3/issues/1643OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “d:\Anaconda3\envs\yolo2\lib\site-packages\torch\lib\caffe2_detectron_ops_gpu.dll” or one of its dependencies右键此电脑选择属性右边栏的高级系统设置高级选项卡下的性能栏的设置高级原创 2021-11-10 14:25:41 · 2872 阅读 · 2 评论 -
PyTorch的lr_scheduler:AttributeError: ‘ReduceLROnPlateau‘ object has no attribute ‘get_last_lr‘
在PyTorch中使用ReduceLROnPlateau调整学习率时,如果想获取当前的学习率,调用scheduler.get_last_lr(),会遇到以下报错:scheduler.get_last_lr()AttributeError: ‘ReduceLROnPlateau’ object has no attribute ‘get_last_lr’scheduler.get_lr()AttributeError: ‘ReduceLROnPlateau’ object has no attr原创 2021-10-14 11:21:38 · 3272 阅读 · 0 评论 -
fatal: unable to access ‘https://github.com/***/***.git/‘: Could not resolve host:github.com
在克隆代码是出现访问不到github的情况比如:git clone https://github.com/WongKinYiu/PyTorch_YOLOv4.gitCloning into ‘PyTorch_YOLOv4’…fatal: unable to access ‘https://github.com/WongKinYiu/PyTorch_YOLOv4.git/’: Could not resolve host: github.com打开终端,输入:ping github.com原创 2021-06-22 10:24:32 · 718 阅读 · 0 评论 -
Windows下pip install pycocotools报错
在Windows下安装pycocotools,执行pip install pycocotools报错pip install pycocotools这是报错信息:Looking in indexes: https://mirrors.aliyun.com/pypi/simple/Collecting pycocotools Using cached https://mirrors.aliyun.com/pypi/packages/de/df/056875d697c45182ed6d2ae21f6原创 2021-08-27 16:22:37 · 3381 阅读 · 8 评论 -
RuntimeError: CUDA error: no kernel image is available for execution on the device
GeForce RTX 3090 GPU安装torch之后,运行报错:GeForce RTX 3090 with CUDA capability sm_86 is not compatible with the current PyTorch installation.The current PyTorch install supports CUDA capabilities sm_37 sm_50 sm_60 sm_70.If you want to use the GeForce RTX 3090原创 2021-06-04 14:36:45 · 1087 阅读 · 3 评论 -
pip install时报错ReadTimeoutError
pip install时报错ReadTimeoutErrorRead timed out解决方案设置timeout:更改镜像源:通过下载.whl文件安装:Read timed outpip install 安装依赖包的时候出现以下错误:raise ReadTimeoutError(self._pool, None, "Read timed out.")pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='原创 2021-05-21 16:34:22 · 564 阅读 · 0 评论 -
yolo训练过程killed
在之前的训练中,一直是正常运行的,但是,做了大量的数据增强之后,训练开始没多久就死掉了top查看资源之后发现32G的内存,几乎全被占用了,这时候才刚开始训练训练数据集和验证数据集都特别大,一个epoch还没跑完就杀死了,就是因为内存满了这时候就想到了训练时使用的一个参数--cache,将这个参数去掉之后,问题就解决了...原创 2021-04-30 11:47:09 · 3963 阅读 · 11 评论 -
ERROR: No supported GPU(s) detected to run this container
ERROR: No supported GPU(s) detected to run this container在拉取yolov5官方Docker image之后docker run --ipc=host --gpus all -it ultralytics/yolov5:latest启动容器使用以下命令查看GPU:root@87fb0c80ec7f:~# nvcc -Vnvcc: NVIDIA (R) Cuda compiler driverCopyright (c) 2005-2020 NV原创 2021-03-09 15:03:36 · 3720 阅读 · 2 评论 -
COPY failed: file not found in build context or excluded by .dockerignore
COPY failed: file not found in build context or excluded by .dockerignore: stat requirements.txt: file does not exist构建Docker镜像时,使用命令:docker build - < Dockerfile在执行COPY requirements.txt .时出现COPY错误:COPY failed: file not found in build context or excl原创 2021-03-08 15:03:41 · 11205 阅读 · 0 评论 -
RuntimeError: CUDA runtime implicit initialization on GPU:0 failed. Status: out of memory
昨天安装完tensorflow之后,没有问题,也跑了代码训练模型。今天突然就不行了,电脑没关过机。使用tf报了以下错误RuntimeError: CUDA runtime implicit initialization on GPU:0 failed. Status: out of memoryimport tensorflow as tfprint(tf.__version__)print(tf.test.is_built_with_cuda())print(tf.test.is_gpu_a原创 2021-02-24 15:02:16 · 9784 阅读 · 3 评论