mirror of
https://github.com/huggingface/deep-rl-class.git
synced 2026-04-10 06:08:31 +08:00
Update train.mdx
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user