本帖最后由 LZR水宕宕 于 2022-2-6 15:34 编辑
这是在yolo3环境配置中,安装python依赖库与预训练权重的安装过程以及错误代码,如下 ↓
- 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 ×”两个问题,感激不谢! |
|
|
|
|
|