Giter Site home page Giter Site logo

Comments (16)

AngeLouCN avatar AngeLouCN commented on August 27, 2024

Hi thank you for your interest. Could please share me more information about training, such as which dataset and label ratio? By the way, I have check the code and find I upload the wrong loss.py file and I will upload correct one soon.

from min_max_similarity.

thanhnt-2658 avatar thanhnt-2658 commented on August 27, 2024

Thanks for your prompt response. I used the command python train_mms.py with no arguments so everything is default, the same went for python test.py. So the dataset is kvasir and the label ratio is 0.5

from min_max_similarity.

AngeLouCN avatar AngeLouCN commented on August 27, 2024

Hi, I have uploaded the correct one. You can try again and let me know what happened.

from min_max_similarity.

thanhnt-2658 avatar thanhnt-2658 commented on August 27, 2024

Btw, I got an error while testing. In your 'test.py', I need to change line 31, 32 from preUnet to preUnet() in order to avoid the error.

from min_max_similarity.

AngeLouCN avatar AngeLouCN commented on August 27, 2024

Thanks, I will fix it.

from min_max_similarity.

thanhnt-2658 avatar thanhnt-2658 commented on August 27, 2024

@AngeLouCN The results have not improved after I updated loss.py. Do you have any ideas?

from min_max_similarity.

AngeLouCN avatar AngeLouCN commented on August 27, 2024

I have updated the loss.py and fix some errors. And I test it right now it looks ok.
sample

from min_max_similarity.

thanhnguyentung95 avatar thanhnguyentung95 commented on August 27, 2024

The latest loss.py did not resolve the issue. I attached the logs.

run.log

from min_max_similarity.

thanhnguyentung95 avatar thanhnguyentung95 commented on August 27, 2024

The following log is suspicious:
2022-10-04 09:22:56,623 Split Percentage : 1 Labeled Data Ratio : 0.5
2022-10-04 09:22:56,693 train_loader_1 53 train_loader_2 45 unlabeled_train_loader 101 val_loader 118

While the total number of train images is 472

from min_max_similarity.

AngeLouCN avatar AngeLouCN commented on August 27, 2024

Hi, I download my repository and run it. I find the dataloader in my PC is correct. (I use windows system)
1664909447(1)

from min_max_similarity.

AngeLouCN avatar AngeLouCN commented on August 27, 2024

Did you do something to organize the datasets?

from min_max_similarity.

thanhnguyentung95 avatar thanhnguyentung95 commented on August 27, 2024

I found that sorted() should be done in image_loader() instead of ObjDataset. May I make a PR for this?

from min_max_similarity.

AngeLouCN avatar AngeLouCN commented on August 27, 2024

I am not really sure what you mean. I can run with this code without any errors. Maybe you can try to modify the dataloader to load all of those images. And I think the performance will reach over 90%.

from min_max_similarity.

thanhnt-2658 avatar thanhnt-2658 commented on August 27, 2024

Yes, I got over 92% now.

from min_max_similarity.

AngeLouCN avatar AngeLouCN commented on August 27, 2024

:) 👍

from min_max_similarity.

EmarkZOU avatar EmarkZOU commented on August 27, 2024

Yes, I got over 92% now.

Hello! I've encountered similar issues during my reproduction process. On one hand, there's significant filtering of images with sizes not matching trainsize, and on the other hand, the final training dice score is quite low. I would like to seek advice on how you handled such situations. Looking forward to your response! Thank you!

from min_max_similarity.

Related Issues (6)

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.