Comments (5)
Alright. Could you kindly show me how to add necessary segmentation heads to the backbone?
you need to change the 'shortcut' parameter in Resnet class settings when you use different depth of resnet.
At the same time, you need to comment out the self.conv_seg variable when init the class.I have been struggling with this myself, if I comment out the self.conv_seg then I can't use the pretrained resnet_50_epoch model right? Also, I have an issue with the resnet_50_epoch model where it has 2 classes specified but I need 1 class only. Any ideas how to approach this?
I haven't test it on resnet50, but on resnet 10, resnet 18 and resnet34, comment out the self.conv_seg worked well. Attention you need to change to 'shortcut'. I don't have any idea of the following question if you only need you class maybe this pretrained model do not fit your needs.
from medicalnet.
Hi, you can't get the segmentation result when using the segmentation test code in the situation you mentioned since "resnet_50_23dataset.pth" and "resnet_50.pth" are just backbones without segmentation head.
from medicalnet.
Alright. Could you kindly show me how to add necessary segmentation heads to the backbone?
from medicalnet.
Alright. Could you kindly show me how to add necessary segmentation heads to the backbone?
you need to change the 'shortcut' parameter in Resnet class settings when you use different depth of resnet.
At the same time, you need to comment out the self.conv_seg variable when init the class.
from medicalnet.
Alright. Could you kindly show me how to add necessary segmentation heads to the backbone?
you need to change the 'shortcut' parameter in Resnet class settings when you use different depth of resnet.
At the same time, you need to comment out the self.conv_seg variable when init the class.
I have been struggling with this myself, if I comment out the self.conv_seg then I can't use the pretrained resnet_50_epoch model right? Also, I have an issue with the resnet_50_epoch model where it has 2 classes specified but I need 1 class only. Any ideas how to approach this?
from medicalnet.
Related Issues (20)
- The dataset list of 23 datasets for the pre-trained model HOT 1
- Landmark detection in 3D point clouds
- Starting experiments with MedicalNet; question one: what are parameters --input_D, --input_H, --input_W? HOT 2
- Sharing models through Hugging Face Hub
- Cannot load checkpoints
- on which datasets the models are pretrained ? HOT 1
- Is there any classification code ?
- Contribution to the Open Source Hugging Face community.
- resent 50pth HOT 2
- SRS
- If I want to transfer to my own dataset, do I have to preprocess my data in the same way as you mentioned in your paper?
- Pre-trained models' results
- Project dependencies may have API risk issues
- Classification code with modification of train.py and datasets/brains18.py HOT 17
- Query: Can this be used to identify Chronic Kidney Diseases with Ultrasound scans?
- How to get the pretrained model
- Utilizing resnet_50.pth for 3D Feature Map Extraction HOT 3
- Integrating Labeled Image Features with Excel Input Variables Through Dense Layer Concatenation
- pretrian code
- Shortcut A
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 medicalnet.