Giter VIP home page Giter VIP logo

Comments (7)

Eric-jinkens avatar Eric-jinkens commented on August 15, 2024

Hi, I successfully reproduce the paper's result with mIOU of 78.91%. And the reason why groundtruth is totally black is that it is not correctly visualized in RGB format. If you want to see the foreground, you need to multiply the ground-truth mask by 255.

from oeem.

ZlqKevin avatar ZlqKevin commented on August 15, 2024

@Eric-jinkens Hello, I found in the process of reproduction that when training the segmentation model, the mIOU always hovered around 18%, and when testing, the mIOU was only 18%. Where do you think I might be ashamed? Thank you very much for your answer

from oeem.

Eric-jinkens avatar Eric-jinkens commented on August 15, 2024

Hi! Could you please provide a little more information? I haven't encountered such a low mIOU, have you correctly moved the pseudo-label generated from the classification stage to the input folder?

from oeem.

Eric-jinkens avatar Eric-jinkens commented on August 15, 2024

By using ln -s OEEM_resources/glas_seg segmentation/glas, you could move the official pseudo-label to the input folder. Or if you wanna train the classification model yourself, you need to use the following command to prepare the segmentation inputs:

python classification/prepare_seg_inputs.py -d 0 -ckpt res38d_best
python segmentation/tools/crop_img_and_gt.py segmentation/glas/images classification/res38d_best_train_pseudo_mask segmentation/glas

from oeem.

ZlqKevin avatar ZlqKevin commented on August 15, 2024

Thank you for taking the time to reply. I used the officially trained classification model to generate pseudo label and then trained the segmentation model. The whole process was executed according to the instructions in readme. The picture shows some data of the segmentation model training process. I wonder if it can provide you with further information. Thank you very much.
微信图片_20230302162226

from oeem.

Eric-jinkens avatar Eric-jinkens commented on August 15, 2024

Oh! I know why. That is a bug, I have encountered that before. The pseudo label is reversed, so the performance is so low. You need to firstly reverse the foreground and background so that you could get the correct results. You can check this by visualizing the pseudo label by multiplying it with 255.

from oeem.

ZlqKevin avatar ZlqKevin commented on August 15, 2024

@Eric-jinkens Oh, I see. Thank you very much. Without your help, I might still be confused, haha. I will try to correct this error. Thank you again for your help.

from oeem.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.