cd docker
docker build -t mask_rcnn:latest .
cd ..
docker run --runtime=nvidia -it -p 8888:8888 -v "$(pwd)":/home mask_rcnn:latest bash
cd home
virtualenv -p python3 venv
source venv/bin/activate && pip install cython numpy
pip install -r requirements.txt
jupyter notebook --ip 0.0.0.0 --port 8888 --no-browser --allow-root
By launching the notebook with the --ip flag set to 0.0.0.0, this allows for your notebook to be accessed from any computer across a network. However, if you are running this on your local computer, then invoking the --ip flag is unnecessary. Take note of the access token that this command grants you. You will need it for when you enter into the notebook.
If you are running this on your local computer, then navigate to http://localhost:8888. If you are accessing this notebook from a remote location, find the ip address of the server that the notebook is running on and navigate to http://