Unverified Commit f46bcf7f authored by Hang Zhang's avatar Hang Zhang Committed by GitHub
Browse files

Docker Instructions (#308)



* avoid network error

* add docker instructions

* typo
Co-authored-by: default avatarhzaws <hzaws@u8aedb6e0b0c250.ant.amazon.com>
parent deec6dea
...@@ -17,6 +17,22 @@ Installation ...@@ -17,6 +17,22 @@ Installation
python setup.py install python setup.py install
Using Docker
------------
We strongly recommend using the docker option, if you are experiencing any errors using standard installation.
* Install Docker Engine by following the `Install Docker Engine <https://docs.docker.com/engine/install/>`_.
* Build the docker image::
git clone https://github.com/zhanghang1989/PyTorch-Encoding && cd PyTorch-Encoding
bash scripts/build_docker.sh
* Run the docker::
bash scripts/run_docker.sh
Detailed Steps Detailed Steps
-------------- --------------
......
docker build -t encoding . docker build --network=host -t encoding .
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment