Code Monkey home page Code Monkey logo

Comments (5)

wangbaoyuanGUET avatar wangbaoyuanGUET commented on August 29, 2024

@tangy5 Hi!

from research-contributions.

tangy5 avatar tangy5 commented on August 29, 2024

Hi @wangbaoyuanGUET ,great to see you are training your own data. looks like the model checkpoint is not good enough, not related to Swin-UNETR parameter
, or maybe there are errors in the pre-processing steps.
you could check:

  1. whether the image is padded to 64x64x64. (Add spatial pad transform)
  2. monitor the validation metrics to see if the model training is converged. transformer models are typically harder to converge.
  3. Whether loss functions are properly set with 2 classes.
  4. Input/output channels is correct.
  5. When doing inference, whether the model checkpoint is loaded.

Following your successful prediction, you could check if everything else is the same except the backbone.

Hope above helps and let me know if you have more details or findings.

from research-contributions.

wangbaoyuanGUET avatar wangbaoyuanGUET commented on August 29, 2024

@tangy5
Thanks for your reply very very much!
I contact deep learning from few months ago, although I don't have a good foundation, I kept working on my coding skills.
So I was pleasantly surprised to hear from you so quickly.
I will check my code according to your valuable opinions.
Thank you again!

from research-contributions.

wangbaoyuanGUET avatar wangbaoyuanGUET commented on August 29, 2024

Hi! Mr.Tangy @tangy5
I'm glad to tell you about that I've solved the problem I mentioned before.
I guessd that the problem is caused by the roi_size of (64, 64, 64).
When the preprocessing method called RandCropByPosNegLabeld crops the data into 4 patches, the roi_size (64, 64, 64) may not cover the entire image. When testing, so does it.
So I change the roi_size to (96, 96, 32) and the problem stopped coming up.
Right now I'm running a new personal dataset to test the validity of my own models.
I appreciate for your help which is important to me.
By the way, the Monai framework is very very great and I like it !

from research-contributions.

wangbaoyuanGUET avatar wangbaoyuanGUET commented on August 29, 2024

from research-contributions.

Related Issues (20)

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.