U-2-Net icon indicating copy to clipboard operation
U-2-Net copied to clipboard

Increasing Performance

Open eduardathome opened this issue 3 years ago • 0 comments

Hi,

First of all, thank you for the very inspired work on this network. It's wonderful to see how many applications it has and will surely have in the future.

I am raising this issue to ask if you could provide some tips or advice on how to increase performance for a segmentation task. I will provide 3 examples below. They are all results of the same model. This model was trained for around 1.5 millions iterations and it had the lowest loss value from all the saved models.

image image image

The first picture is close to perfect, as is a good chunk of the test set. However, there are examples on which the model is performing very poorly. While it is evident that the second and third pictures are loss obvious, and the subjects blend more with the background, it makes we wonder why the huge difference in performance.

In conclusion, can you provide any advice on how to improve the model and have it perform better for cases like this ? I tried database augmentation, and increasing the input resolution. I also tried experimenting with different cost functions such as L1 L2 and mIoU with no better results.

eduardathome avatar Jun 18 '21 09:06 eduardathome