This repository contains contents of major project 2021
Ubuntu OS. LTS version 18 is preferred but runs on any version. Docker should be installed on ubuntu using this. It is recommended to follow post-installation steps of docker
Docker Commands
- Build the image from dockerfile using
docker pull cudachen/mask-rcnn-docker
- If you have already created the container before, you can follow step 4 directly.
- Build the container from the image using
docker container run -it --network host --name mrcnn_flask -v $(pwd):/host cudachen/mask-rcnn-docker
. A new root container in bash mode shall open. You can enterexit
to close the container after using it. Skip step 4. - If the container is already created or to start the pre created container, use the below command to get it up and running:
docker container start mrcnn_flask
docker container exec -it mrcnn_flask /bin/bash
Commands to run inside the container (Everytime commands)
cd /host
pip3 install -r requirements.txt
python3 flask_server.py
To run the project
Simply open UI.html and you would be good to go. To close the server, open the terminal window and press Ctrl + C. After that you can enter exit
to leave the root instance.