Closed mr-spielberg closed 3 years ago
Hi, thanks for your interest in our work! You need to modify the following aspects in your own dataset:
Dataset
detectron2/master/detectron2/data/datasets/coco_panoptic.py
.Config
DATASETS.TRAIN
according to your definition.POSITION_HEAD.THING.POS_NUM
. (This value is up to you. The default one is enough for most cases.)KERNEL_HEAD.INSTANCE_SCALES
. If your instance scale is too large, try to turn this range up, and vice versa.TENSOR_DIM
.stuff
categories MODEL.POSITION_HEAD.STUFF.NUM_CLASSES
and MODEL.SEM_SEG_HEAD.NUM_CLASSES
. It's up to your predefined annotation.thing
categories MODEL.POSITION_HEAD.THING.NUM_CLASSES
. It's up to your predefined annotation.
Hey, Thank you very much for sharing your great work! I am currently investigating how state-of-the-art panoptic segmentation networks perform on fisheye images. I have obtained good results by applying your network with the published weights to fisheye images using the "demo.py" script in detectron2. Now, I would like to examine if training with fisheye images can boost the performance further. I intend to use the recently published WoodScape dataset (https://github.com/valeoai/WoodScape).
I have already worked through the issues. Please let me know if I understood the process for preparing the dataset correctly:
Did I miss anything?
Concerning the modification of the config file, I could only find issues regarding the Cityscapes and Mapillary Vistas datasets. Could you please explain which parameters need to be adjusted for the use of custom datasets and how I can choose the right values (e.g., for POSITION_HEAD/THING/POS_NUM, KERNEL_HEAD/INSTANCE_SCALES, TENSOR_DIM, etc.)?
Can I then just start the training with "python3 projects/PanopticFCN/train.py --config-file --num-gpus " or are there further adjustments of the code required?
I am looking forward to your response. Thank you very much!