Python3.8 + Pytorch and other ML packages for UArizona ECE 696B course SS '21
1.2K
This container is based on the official Python3 container and simply adds the required packages as given in requirements.txt
The container should mount a volume in host's current working directory which contains a run.py script as a driver script. BASH scripts are provided to start the container either as an interactive shell (start_cont) or to automatically execute run.py (start_torch). The commends will be in your PATH once executing sourceMe.sh found in the container_env directory.
source container_env/sourceMe.sh. This will
add the start_cont and start_torch commands to your PATHstart_torch which will mount
the current working directory to the container's /home directory and will call
the command python3 run.py which should be a driver script.Output should look something like
Connors-MacBook-Pro:test connorfuhrman$ start_torch
Executing from run.py ...
Executing from testrun.py ...
Hello world!!
If you're seeing this, the Docker container should be working!!
.
├── Dockerfile
├── README.md
├── container_env
│ ├── sourceMe.sh
│ ├── start_cont
│ └── start_torch
├── requirements.txt
└── test
├── run.py
└── testrun.py
Content type
Image
Digest
Size
916.8 MB
Last updated
over 5 years ago
docker pull connorfuhrman/pytorch-ece696b