Sign inSign up

yodarocks1/drmarioppo

By yodarocks1

Updated over 2 years ago
Archived

Image
0

265

yodarocks1/drmarioppo repository overview

Downloading: ❯ docker pull yodarocks1/drmarioppo:latest
Running container: ❯ docker run -it yodarocks1/drmarioppo:latest
Training network: root@«ID»:/usr/src/app# python3 Train.py «network_type»
: : : : «ID» will be the container ID
: : : : «network_type» is one of PPO, DQN, SAC, A2C

Saving trained models: docker cp «ID»:/usr/src/app/models/«network_type»_best_model.zip .

Detaching from container: Ctrl+(P, Q) (Note: not Ctrl+P, Ctrl+Q, nor Ctrl+P, Q; press P then Q without letting go of Ctrl)
Reattaching to container: docker attach «ID»

Example:

❯ docker pull yodarocks1/drmarioppo:latest
 . . .
❯ docker run -it yodarocks1/drmarioppo:latest
root@74923e580423:/usr/src/app# python3 Train.py DQN
 . . .
[^PQ]
❯ docker ps
CONTAINER ID   IMAGE                          COMMAND       CREATED         STATUS         PORTS     NAMES
74923e580423   yodarocks1/drmarioppo:latest   "/bin/bash"   7 seconds ago   Up 7 seconds             romantic_keller
❯ docker cp 74923e580423:/usr/src/app/models/DQN_best_model.zip .

The container ID or name can be obtained either from the prompt (in the above example, root@74923e580423) or from running docker ps after leaving the container (yields both 74923e580423 and romantic_keller).

Tag summary

Content type

Image

Digest

sha256:f0f28b8f7

Size

1.7 GB

Last updated

over 2 years ago

docker pull yodarocks1/drmarioppo