请问?谁知道yolo3怎么进行环境配置?[诚心请教]

2022-02-063953
AI 快速预览详细 收起
本文介绍了在YOLOv3环境配置过程中遇到的两个常见错误:“Error: Pre-training weight copy failed ×”和“Failed to modify Kreas network file ×”。文章详细解析了这两个错误的原因,并提供了具体的解决方案。首先,确保目标目录存在并具有写入权限;其次,使用正确的opencv-python版本进行安装。通过这些步骤,可以顺利解决这些问题,完成YOLOv3环境的配置。


这是在yolo3环境配置中,安装python依赖库与预训练权重的安装过程以及错误代码,如下 ↓
  1. Start installing Python dependency libraries Python 3.10.0 Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/ Requirement already satisfied: pip in c:\users\rgsyx\appdata\roaming\python\python310\site-packages (22.0.3) Looking in indexes: https://pypi.douban.com/simple Collecting imgaug==0.2.6 Downloading https://pypi.doubanio.com/packages/ad/2e/748dbb7bb52ec8667098bae9b585f448569ae520031932687761165419a2/imgaug-0.2.6.tar.gz (631 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 631.4/631.4 KB 1.2 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done ERROR: Could not find a version that satisfies the requirement opencv-python==4.0.0.21 (from versions: 3.4.0.14, 3.4.10.37, 3.4.11.39, 3.4.11.41, 3.4.11.43, 3.4.11.45, 3.4.13.47, 3.4.15.55, 3.4.16.57, 3.4.16.59, 3.4.17.61, 4.3.0.38, 4.4.0.40, 4.4.0.42, 4.4.0.44, 4.4.0.46, 4.5.1.48, 4.5.3.56, 4.5.4.58, 4.5.4.60, 4.5.5.62) ERROR: No matching distribution found for opencv-python==4.0.0.21 Python dependency library installation is over! Wait...... Start copying pre-training weights Directory not found:C:/Users/rgsyxx/.keras/models Start to create a file directory Error:[WinError 5] 拒绝访问。: 'C:/Users/rgsyxx' Error: Pre-training weight copy failed × Wait...... Start to modify Kreas network files Directory not found:C:/Users/rgsyxx/AppData/Local/Programs/Python/Python37/Lib/site-packages/keras_applications Please confirm whether the directory exists! Failed to modify Kreas network file × End !
请问有谁能解决以上“Error: Pre-training weight copy failed ×”、“Failed to modify Kreas network file ×”两个问题,感激不谢!

无标题.png (57.3 KB, 下载次数: 3343)

YOLOv3环境配置 · 报错解决指南_image_3.webp

创作许可协议

本项目采用 None(不开放任何权利,保留所有权利) 进行许可。

评论(1)
hnyzcj
hnyzcj
社区搜一下
- 没有更多了 -