IISCAditayTripathi / SketchGuidedLocalization

29 stars 4 forks source link

Thanks https://github.com/timy90022/One-Shot-Object-Detection and https://github.com/jwyang/faster-rcnn.pytorch for providing the code which is used in this repository.

To setup repository, please follow these instructions:

  1. Setup Faster R-CNN using instructions given in https://github.com/jwyang/faster-rcnn.pytorch
  2. Download pre-trained weights for resnet-50 for image feature extractor and follow instructions given in image_model
  3. Download pretrained weights for resnet-50 for sketch feature extractor and metadata: sketch_model
  4. Store the downloaded data in ../data folder
  5. Download the models from here

Download and Process QuickDraw

Download quickdraw dataset here and create the pickle file [processed_quick_draw_paths_common_classes.pkl] by running following commands:

python read_store_quick_draw.py
python get_train_test_quick_draw.py
python get_common_classes.py

Train and test the localization model