Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HANDS-ON BUG] Unit 5: error with experimental version of the library that allows push trained agent to Hub #557

Open
gubhaalimpu opened this issue Aug 16, 2024 · 1 comment

Comments

@gubhaalimpu
Copy link

gubhaalimpu commented Aug 16, 2024

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

@simoninithomas
Copy link
Member

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants