- Princeton University Senior Thesis
- Advisor: Professor Olga Russakovsky, Princeton University Department of Computer Science
- Part of the Princeton VisualAI Lab
This is the PyTorch implementation of the seenmask zeroshot network (SZN) described in Rohan Doshi's senior thesis "Zero-shot Semantic Segmentation." Please reference this paper (rohan_doshi_senior_thesis.pdf) to understand the code.
** Requirements: ** Conda (with Python 3) and Linux
-
Install Conda
-
Clone repository
git clone https://github.com/RohanDoshi2018/ZeroshotSemanticSegmentation.git
cd ZeroshotSemanticSegmentation
- Create new conda environment
conda create --name thesis_env
- Install Dependencies
conda install pytorch torchvision -c pytorch
pip install pytz pyyaml scipy fcn jupyter tensorflow tensorboardX
-
Activate your conda environment source activate thesis_env
-
Run code
./train.py -c 4 -g 0
- [Optional] Run Tensorboard Server. Use Ngrok tunnel to access server remotely.
tensorboard --logdir /opt/visualai/rkdoshi/ZeroshotSemanticSegmentation/tb