Transformers based AI to learn to play deep-rts
Datasets: https://drive.google.com/file/d/1QnrxFDww0sCHng7Odl3ucdkVP0SdjBiM/view?usp=sharing
cd age-of-transformers
docker build --tag age-of-transformers .
docker run -it age-of-transformers
- When the container has started run:
pip install deep-rts/
- If this command fails after some time, try to run the command again and it should install successfully (DeepRTS should show up after running
pip list
)
- If this command fails after some time, try to run the command again and it should install successfully (DeepRTS should show up after running
python -m venv env
source env/bin/activate && pip install -r requirements.txt
sudo xargs apt-get install -y <packages.txt
git submodule init && git submodule update
cd deep-rts && git submodule init && git submodule update
pip install .
TODO
TODO
- Pull all submodules before building
sudo docker build .
sudo docker run --gpus all -it --entrypoint bash <image hash> # runs with cuda
sudo docker run --gpus all -it --entrypoint bash $(sudo docker build -q .) # build and run
sudo docker container cp <container_hash>:/results/ ./results/ # copy files to outside container
- To save all dependencies:
pip freeze > requirements.txt
- Remove all pip packages:
pip freeze | xargs pip uninstall -y
if errorpip uninstall DeepRTS
- To update submodules:
git submodule sync
- Get files from server:
scp -r <username>@10.225.148.248:/home/pedron18/Age-of-transformers/results/ results/