我尝试在Google Colab上使用Tensorflow 2.0实现YOLO 3对象检测: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.
请帮我解决同样的问题!谢谢!
2条答案
按热度按时间fykwrbwg1#
从Keras Preprocessing软件包的Anaconda存储库中,可以使用以下命令安装它
即用
-
代替_
并选择conda-forge
信道。4nkexdtk2#
试试这个