deep-rl-class
deep-rl-class copied to clipboard
[HANDS-ON BUG] Unit 5: error with experimental version of the library that allows push trained agent to Hub
After cloning the Unity ml-agents package, I tried to install the experimental version of the library that allows you to push your trained agent to the Hub by executing the below code:
cd ml-agents
pip install -e ./ml-agents-envs
pip install -e ./ml-agents
I received the following errors:
ERROR: ./ml-agents-envs is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, bzr+https, bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, git+ssh, git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, svn+ssh, svn+http, svn+https, svn+svn, svn+file).
ERROR: file:///content/ml-agents does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.
Link to my Google Colab: https://colab.research.google.com/drive/1OPwYIaLNMgKOHRIy97ZupXiturIB6qip#scrollTo=mBh977X0craL
Hey there 👋 , you don't need an experimental version of the library. The official ML-Agents library supports Hugging Face Hub.
Did you tried with the official version of ML-Agents: https://unity-technologies.github.io/ml-agents/Installation/