我正在尝试使用 google colab 上的tensorflow 2.0 实现 YOLO3 对象检测:https://github.com/theAIGuysCode/Object-Detection-API https://github.com/theAIGuysCode/Object-Detection-API
对于这个特定的行:
!python3 /content/Object-Detection-API/load_weights.py
我面临这个错误:
ModuleNotFoundError: No module named 'keras_preprocessing'
我尝试使用以下命令安装“keras_preprocessing”:
!conda install keras_preprocessing
然后我面临这个错误:
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- keras_preprocessing
Current channels:
- https://repo.anaconda.com/pkgs/main/linux-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/linux-64
- https://repo.anaconda.com/pkgs/r/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
请帮我解决同样的问题!
谢谢你!
来自 Anaconda 存储库Keras 预处理 https://anaconda.org/conda-forge/keras-preprocessing包,你可以安装它
conda install -c conda-forge keras-preprocessing
也就是说,用一个-
代替_
并选择conda-forge
渠道。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)