Update README.md
Browse files
README.md
CHANGED
|
@@ -25,32 +25,4 @@ A(n) **APPO** model trained on the **atari_carnival** environment.
|
|
| 25 |
This model was trained using Sample-Factory 2.0: https://github.com/alex-petrenko/sample-factory.
|
| 26 |
Documentation for how to use Sample-Factory can be found at https://www.samplefactory.dev/
|
| 27 |
|
| 28 |
-
|
| 29 |
-
## Downloading the model
|
| 30 |
-
|
| 31 |
-
After installing Sample-Factory, download the model with:
|
| 32 |
-
```
|
| 33 |
-
python -m sample_factory.huggingface.load_from_hub -r ksridhar/atari_2B_atari_carnival_1111
|
| 34 |
-
```
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
## Using the model
|
| 38 |
-
|
| 39 |
-
To run the model after download, use the `enjoy` script corresponding to this environment:
|
| 40 |
-
```
|
| 41 |
-
python -m <path.to.enjoy.module> --algo=APPO --env=atari_carnival --train_dir=./train_dir --experiment=atari_2B_atari_carnival_1111
|
| 42 |
-
```
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
You can also upload models to the Hugging Face Hub using the same script with the `--push_to_hub` flag.
|
| 46 |
-
See https://www.samplefactory.dev/10-huggingface/huggingface/ for more details
|
| 47 |
-
|
| 48 |
-
## Training with this model
|
| 49 |
-
|
| 50 |
-
To continue training with this model, use the `train` script corresponding to this environment:
|
| 51 |
-
```
|
| 52 |
-
python -m <path.to.train.module> --algo=APPO --env=atari_carnival --train_dir=./train_dir --experiment=atari_2B_atari_carnival_1111 --restart_behavior=resume --train_for_env_steps=10000000000
|
| 53 |
-
```
|
| 54 |
-
|
| 55 |
-
Note, you may have to adjust `--train_for_env_steps` to a suitably high number as the experiment will resume at the number of steps it concluded at.
|
| 56 |
|
|
|
|
| 25 |
This model was trained using Sample-Factory 2.0: https://github.com/alex-petrenko/sample-factory.
|
| 26 |
Documentation for how to use Sample-Factory can be found at https://www.samplefactory.dev/
|
| 27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|