我正在尝试使用TensorFlow2.0在google colab上实现YOLO3对象检测: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.请帮我解决同样的问题!谢谢!
发布于 2020-09-28 23:02:45
在Keras Preprocessing包的Anaconda库中,您可以使用以下命令安装它
conda install -c conda-forge keras-preprocessing也就是说,使用-而不是_,并且选择conda-forge通道。
https://stackoverflow.com/questions/64102020
复制相似问题