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

[MLA-2017] Move colab notebooks to github #5399

Merged
merged 7 commits into from
Jun 1, 2021
Merged

Conversation

chriselion
Copy link
Contributor

@chriselion chriselion commented May 27, 2021

Proposed change(s)

Move the colab notebooks (back?) to source control. This is the first step in running CI on them.

A fast-follow PR will update the links on https://github.com/Unity-Technologies/ml-agents/tree/main/docs to point to the main versions (with the https://colab.research.google.com prefix).

After we branch for the next release, I'll change the links to use release_N_docs so that they continue to match the branch they're on (or the previous release).

Useful links (Github issues, JIRA tickets, ML-Agents forum threads etc.)

https://colab.research.google.com/github/Unity-Technologies/ml-agents/blob/MLA-2017-colab-to-github/colab/Colab_UnityEnvironment_1_Run.ipynb
https://colab.research.google.com/github/Unity-Technologies/ml-agents/blob/MLA-2017-colab-to-github/colab/Colab_UnityEnvironment_2_Train.ipynb
https://colab.research.google.com/github/Unity-Technologies/ml-agents/blob/MLA-2017-colab-to-github/colab/Colab_UnityEnvironment_3_SideChannel.ipynb

Types of change(s)

  • Documentation update

Checklist

Other comments

@@ -125,6 +125,7 @@ repos:
name: validate release links
language: script
entry: utils/validate_release_links.py
require_serial: true
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was causing problems trying to run with --all-files, since multiple processes would all try to modify the same file, and the replacements weren't atomic.

" import mlagents\n",
" print(\"ml-agents already installed\")\n",
"except ImportError:\n",
" !pip install -q mlagents==0.25.1\n",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will get updated by the link+pip updater on the next release branch.

@chriselion chriselion merged commit b5b1aef into main Jun 1, 2021
@delete-merged-branch delete-merged-branch bot deleted the MLA-2017-colab-to-github branch June 1, 2021 16:51
@chriselion chriselion mentioned this pull request Jun 1, 2021
2 tasks
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants