Closed RYHSmmc closed 1 year ago
Hi @RYHSmmc, thanks for your interest in our work. Yes, you can. There are two cases:
If you have panoptic annotations: Set TASK_PROB.SEMANTIC as 1.0 in the config. https://github.com/SHI-Labs/OneFormer/blob/56799ef9e02968af4c7793b30deabcbeec29ffc0/configs/ade20k/Base-ADE20K-UnifiedSegmentation.yaml#L56
TASK_PROB.SEMANTIC
1.0
If you only have semantic annotations: You can use the custom semantic dataset mapper.
Feel free to re-open if you are still facing any issues.
Hi @RYHSmmc, thanks for your interest in our work. Yes, you can. There are two cases:
If you have panoptic annotations: Set
TASK_PROB.SEMANTIC
as1.0
in the config. https://github.com/SHI-Labs/OneFormer/blob/56799ef9e02968af4c7793b30deabcbeec29ffc0/configs/ade20k/Base-ADE20K-UnifiedSegmentation.yaml#L56If you only have semantic annotations: You can use the custom semantic dataset mapper.