Please follow these instructions for data preparation for the Instance Matching Module.
-
Download the SketchyScene dataset following its instruction here. And you can place it anywhere you want.
-
We have provided the data in
~/Instance_Matching/data(the threejsonfiles). If you want to generate them by yourself, try:python3 matching_data_generation.py --dataset 'all' --data_base_dir 'path/to/SketchyScene-dataset'- You can set
--datasetto be train/val/test.
- You can set
-
For ground-truth data visualization:
python3 matching_data_visualization.py --dataset 'val' --data_base_dir 'path/to/SketchyScene-dataset'- Set
--image_idto the image you want. Otherwise, a randomly selected image will be displayed.
- Set