Skip to content

Commit

Permalink
Merge pull request #473 from huggingface/ThomasSimonini/HuggyUpdate
Browse files Browse the repository at this point in the history
Update Huggy
  • Loading branch information
simoninithomas authored Jan 24, 2024
2 parents dab558b + fdf781e commit 4966807
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions units/en/unitbonus1/train.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,12 @@ pip3 install -e ./ml-agents
mkdir ./trained-envs-executables
mkdir ./trained-envs-executables/linux
```
We downloaded the file Huggy.zip from https://github.com/huggingface/Huggy using `wget`

```bash
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
wget "https://github.com/huggingface/Huggy/raw/main/Huggy.zip" -O ./trained-envs-executables/linux/Huggy.zip
```

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/)

```bash
%%capture
unzip -d ./trained-envs-executables/linux/ ./trained-envs-executables/linux/Huggy.zip
Expand Down

0 comments on commit 4966807

Please sign in to comment.