Skip to content

Commit

Permalink
Update Pyramids download
Browse files Browse the repository at this point in the history
  • Loading branch information
simoninithomas committed Feb 26, 2024
1 parent 6ab84a4 commit 89f68ae
Showing 1 changed file with 16 additions and 36 deletions.
52 changes: 16 additions & 36 deletions notebooks/unit5/unit5.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
},
"outputs": [],
"source": [
"%%capture\n",
"\n",
"# Go inside the repository and install the package\n",
"%cd ml-agents\n",
"!pip3 install -e ./ml-agents-envs\n",
Expand Down Expand Up @@ -600,58 +600,38 @@
},
{
"cell_type": "markdown",
"metadata": {
"id": "NyqYYkLyAVMK"
},
"source": [
"Download the file Pyramids.zip from https://drive.google.com/uc?export=download&id=1UiFNdKlsH0NTu32xV-giYUEVKV4-vc7H 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/)"
]
},
{
"cell_type": "code",
"execution_count": null,
"We downloaded the file Pyramids-linux.zip from from https://huggingface.co/spaces/unity/ML-Agents-Pyramids/resolve/main/Pyramids-linux.zip using `wget`"
],
"metadata": {
"id": "AxojCsSVAVMP"
},
"outputs": [],
"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=1UiFNdKlsH0NTu32xV-giYUEVKV4-vc7H' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\\1\\n/p')&id=1UiFNdKlsH0NTu32xV-giYUEVKV4-vc7H\" -O ./training-envs-executables/linux/Pyramids.zip && rm -rf /tmp/cookies.txt"
]
"id": "x2C48SGZjZYw"
}
},
{
"cell_type": "markdown",
"metadata": {
"id": "bfs6CTJ1AVMP"
},
"cell_type": "code",
"source": [
"**OR** Download directly to local machine and then drag and drop the file from local machine to `./training-envs-executables/linux`"
]
},
{
"cell_type": "markdown",
"!wget \"https://huggingface.co/spaces/unity/ML-Agents-Pyramids/resolve/main/Pyramids.zip\" -O ./training-envs-executables/linux/Pyramids.zip"
],
"metadata": {
"id": "H7JmgOwcSSmF"
"id": "eWh8Pl3sjZY2"
},
"source": [
"Wait for the upload to finish and then run the command below.\n",
"\n",
"![image.png](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASYAAAAfCAYAAABKxmALAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAmZSURBVHhe7d0NTNTnHQfwL+rxcigHFHUH9LCCVuaKCWgB4029Gq7NcBuLPdPKEhh6iRhEmauLY2V0ptEUSZGwTJTA5jSBOnGDmpyxEMUqxEH0rOIQfDmtt/oCnsof9BT2PPAcx8nbeTQi9vcxF56X+///h8n98vs9/xfcYmJiukEIIS+RCeInIYS8NChjIoS4LCwsDMHBwfDx8cEc76u4dNcT5y63orm5WbzDNRSYCCHPhQejuLg4xMbGwtvbW4wCymNLRAuQFAtwpW0Sio+34+uzN8So8ygwEUKc4uXlheTkZCxbtkyMOOofmGy63P1R37EAm4u+QUdHhxgdGa0xEUJGxLOknJycQYPSvXv3cPnyZTx0n4Fut4litNeEx61YMNGAQxun9uzDWZQxEUKGxQNKVlaWQ9nGg9Hhw4dx8uRJ3Lx5U4wCQYouvD3bB+qfTEWsT70Ytfv1l287tf5EgYkQMiRevvFMSalUihHAYDCgpKQEjx49EiODWzwL+MN73Zji1iZGgO/8l+ODbQ0jlnXjtJQLheZ9HTQzRXcAHbKK8pEeK7rfi5GOScirh68p9Q9K+/fvx65du0YMStyxS0DcTjecuh8lRoDprRXY8pvFoje0IQJTNNLzilBU5PjK35qO+Dly8Z6xFAF1nBZaTbjovwhjcUxCxg4v4fqvKfFM6cCBA6LnvIziK7jdFSh6wBKfE4iaGyJ6gxs2Y5LOFiIlJYW90pC5rQT1CEfCulRoxzw2lSN7TQo272kU/RdhLI5JyNjhlwTY8DUlXr65avMBq2gBkyQTUjUeoje4Id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TNaz9vTggf3s2mSPbqjn+kH/Xgg2xH4HRbf98oAnMn+sORiIW7duiZGhUcZECBkRD0YbN250yJxseHDiV4er7v8LP5K+hsxqL9tszK+twEd/Nzn911MoYyKEjIgHnurqaigUCsyc6fi0RE9PT/j5+UHx6L/wanW82bfL/TUcf/wzrN95yqlMyYYCEyHEKbysO336NOrr6+Hm5obp06f3lXech+UM3O+dwVOPqZB8ImFsfxMFx4A9/zb2bPs8qJQjhLiMl3i2P3ip9j2DpjZv1F7qxLmL9gVvV1BgIoS8dEZ9SwohhHzfKDARQl4ywP8B/eN9dc0U7ocAAAAASUVORK5CYII=)"
]
"execution_count": null,
"outputs": []
},
{
"cell_type": "markdown",
"source": [
"Unzip it"
"We unzip the executable.zip file"
],
"metadata": {
"id": "iWUUcs0_794U"
"id": "V5LXPOPujZY3"
}
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "i2E3K4V2AVMP"
"id": "SmNgFdXhjZY3"
},
"outputs": [],
"source": [
Expand All @@ -662,7 +642,7 @@
{
"cell_type": "markdown",
"metadata": {
"id": "KmKYBgHTAVMP"
"id": "T1jxwhrJjZY3"
},
"source": [
"Make sure your file is accessible"
Expand All @@ -672,7 +652,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "Im-nwvLPAVMP"
"id": "6fDd03btjZY3"
},
"outputs": [],
"source": [
Expand Down

0 comments on commit 89f68ae

Please sign in to comment.