Giter Site home page Giter Site logo

pytorch-ece696b's Introduction

Docker container for UArizona ECE 696B SS '21

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.

Example:

  • To use the container first execute source container_env/sourceMe.sh. This will add the start_cont and start_torch commands to your PATH
  • Navigate to the /test directory and execute start_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!!

Project structure:

.
├── Dockerfile
├── README.md
├── container_env
│   ├── sourceMe.sh
│   ├── start_cont
│   └── start_torch
├── requirements.txt
└── test
    ├── run.py
    └── testrun.py

Notes:

  • Tested on MacOS 10.15.7

pytorch-ece696b's People

Contributors

connorfuhrman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.