Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected class called 'background' is always inserted in semantic segmentation task #2116

Closed
supersoob opened this issue May 8, 2023 · 0 comments
Assignees
Labels
BUG Something isn't working

Comments

@supersoob
Copy link
Contributor

Describe the bug
Unexpected class called 'background' is always inserted in semantic segmentation task when training with Common Semantic Segmentation data format for OTX.
This class is never specified in dataset_meta.json but can observe that some pixels are predicted to the background class.

Steps to Reproduce

  1. Prepare custom data with dataset_meta.json which does not include the "background" class.
    image
  2. Run 'otx train' command specifying the dataset path from step 1 in data.yaml or --train-data-roots/--val-data-roots
  3. You can see evaluation results from the training log includes unexpected class called 'background' label.
    image

Environment:

  • OS: Linux Ubuntu 20.04.3
  • Framework version: PyTorch 1.13.1
  • Python version: Python 3.9.13 but can observe this issue in 3.8 and 3.10 as well
  • OpenVINO version:
  • CUDA/cuDNN version:
  • GPU model and memory:
@supersoob supersoob added the BUG Something isn't working label May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants