Skip to content

Commit

Permalink
Using wget instead
Browse files Browse the repository at this point in the history
  • Loading branch information
simoninithomas committed Feb 16, 2024
1 parent d7ec1b4 commit 6ab84a4
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions notebooks/bonus-unit1/bonus-unit1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -217,24 +217,24 @@
]
},
{
"cell_type": "code",
"cell_type": "markdown",
"source": [
"!wget --load-cookies /tmp/cookies.txt \"https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=1zv3M95ZJTWHUVOWT6ckq_cm98nft8gdF' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\\1\\n/p')&id=1zv3M95ZJTWHUVOWT6ckq_cm98nft8gdF\" -O ./trained-envs-executables/linux/Huggy.zip && rm -rf /tmp/cookies.txt"
"We downloaded the file Huggy.zip from https://github.com/huggingface/Huggy using `wget`"
],
"metadata": {
"id": "EB-G-80GsxYN"
},
"execution_count": null,
"outputs": []
"id": "IHh_LXsRrrbM"
}
},
{
"cell_type": "markdown",
"cell_type": "code",
"source": [
"!wget \"https://github.com/huggingface/Huggy/raw/main/Huggy.zip\" -O ./trained-envs-executables/linux/Huggy.zip"
],
"metadata": {
"id": "jsoZGxr1MIXY"
"id": "8xNAD1tRpy0_"
},
"source": [
"Download the file Huggy.zip from https://drive.google.com/uc?export=download&id=1zv3M95ZJTWHUVOWT6ckq_cm98nft8gdF using `wget`. Check out the full solution to download large files from GDrive [here](https://bcrf.biochem.wisc.edu/2021/02/05/download-google-drive-files-using-wget/)"
]
"execution_count": null,
"outputs": []
},
{
"cell_type": "code",
Expand Down Expand Up @@ -441,7 +441,7 @@
},
"outputs": [],
"source": [
"!mlagents-learn ./config/ppo/Huggy.yaml --env=./trained-envs-executables/linux/Huggy/Huggy --run-id=\"Huggy\" --no-graphics"
"!mlagents-learn ./config/ppo/Huggy.yaml --env=./trained-envs-executables/linux/Huggy/Huggy --run-id=\"Huggy2\" --no-graphics"
]
},
{
Expand Down

0 comments on commit 6ab84a4

Please sign in to comment.