Closed ohad-denh closed 4 years ago
Hi,
It looks like your cfg file is proper, but if you have a large class imbalance of background and carrot overwhelmingly large in contrast to weeds, then it makes sense that the weed class doesn't show up in the results. You can try with a higher weight for that class.
Thanks for having a look! I tried that already, but also I noticed my data was a little bit "flawed", with really heavy imbalance, as you suggested. Right now I'm waiting for new data, so I guess I'll just close this and hope it works soon ;)
For my other question, you didn't train any bonnetal-net with your sugarbeet-data? If you did, I would be very happy to hear
Unfortunately, I don't think I have a model for the sugarbeet data on this framework :/ sorry
Hey there,
I am trying to train different backbone/decoder combinations in a semantic segmentation task. My data is similar to the sugarbeets from the old bonnet, with 3 classes: background, carrot, and weed.
Somehow I always end up training only the first two classes. From how I understand it, the number of classes is defined completely in the cfg-file, right? With labels, label-weights and color_map. I would appreciate any help :)
I just double-checked before posting, and noticed that when I run the calculate_segmentation_weights, I dont get differences in frequencies in the carrot and weed classes, which is of course weird but I cant see the reason.
Edit: To be exact, both are Zero. Num of pixels: 681984000 Frequency: [0.89665005 0. 0. ] I cant seem to know why
I'll attach the cfg I'm using right now. Best regards, Olli
P.S. Any chance you got pretrained models for the sugarbeet data in this framework?