Comments (5)
@tangy5 Hi!
from research-contributions.
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:
- whether the image is padded to 64x64x64. (Add spatial pad transform)
- monitor the validation metrics to see if the model training is converged. transformer models are typically harder to converge.
- Whether loss functions are properly set with 2 classes.
- Input/output channels is correct.
- 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.
@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.
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.
from research-contributions.
Related Issues (20)
- Swin-UNETR pretraining model weights do not load into the model
- Validation
- Invalid organ segmentation nii file produced from prostate_mri_lesion_seg_app
- SwinUNETR-V2
- About Test HOT 4
- about evaluation HOT 1
- About SwimUNETR Model Structure
- Unnecessary conv3 Layer Weights in DAE with MONAI v0.8.0 Leading to Compatibility Issues with v0.9.0+
- FileNotFoundError in swinunetr
- Swin-UNETR pretraining validation criterion
- AttributeError: 'NoneType' object has no attribute 'items' in Auto3dSeg
- Not reproducible results
- AttributeError: 'NoneType' object has no attribute 'items' in swinunetr algo
- Brats2020 HOT 3
- Evaluation
- difference brats2021 train test
- Unexpected key(s) in state_ dict: "epoch", "best_acc", "state_dict". HOT 3
- N foreground 0, N background 52003401,unable to generate class balanced samples. NaN or Inf found in input tensor.
- Understanding the contrastive loss implementation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from research-contributions.