Comments (5)
Hello,
Those results are very odd indeed. Did you use some specific normalization during training? When you run inference with the Inferer-classes, you should also pass the same normalization method as a parameter to the class e.g. normalization="min-max"
. Usually, when I get weird results the reason is that I've forgot to use the normalization parameter.
Regarding your other questions:
-
Yes, you can use sliding window inferer on 1gpu. However, the input images can't be super large like 30000x30000px. The reason is that the output will have the same shape as the input and it can't fit to gpu memory. I'll take a look if this could be avoided in the future.
-
And yes, for now you need to train from scratch. In the future, I'll set up a hugginface space for pre-trained models that could be loaded directly. Once I just have the time.
from cellseg_models.pytorch.
Hello,
Those results are very odd indeed. Did you use some specific normalization during training? When you run inference with the Inferer-classes, you should also pass the same normalization method as a parameter to the class e.g. normalization="min-max"
. Usually, when I get weird results the reason is that I've forgot the normalization parameter.
Regarding your other questions:
-
Yes, you can use sliding window inferer on 1gpu. However, the input images can't be super large like 30000x30000px. The reason is that the output will have the same shape as the input and it can't fit to gpu memory. I'll take a look if this could be avoided in the future.
-
And yes, for now you need to train from scratch. In the future, I'll set up a hugginface space for pre-trained models that could be loaded directly. Once I just have the time.
from cellseg_models.pytorch.
Also, I noticed that you were using some parameters that don't exist like 'overlap' and 'patch'. Use 'stride' and 'patch_size' instead.
from cellseg_models.pytorch.
Thank you for your quick response! I see, okay, so I will have to train all the models before running inference on my dataset. The overlap and patch parameters are used to manually create patches so that I can work with ResizeInferer, without having to actually resize(like in one of your examples). 'Stride' and 'patch_size' can be used with the Sliding Window Inferer, however what would their role be in the Resize Inferer? I will train these and let you know if things change!
from cellseg_models.pytorch.
You're right, ResizeInferer does not use stride and patch_size parameters. My bad.
from cellseg_models.pytorch.
Related Issues (11)
- Data preparation issue HOT 2
- AttributeError: type object 'FileHandler' has no attribute 'read_mask' HOT 1
- Training Problem HOT 15
- Data preparation issue HOT 6
- Training Example HOT 1
- using pretrained weights HOT 2
- I need help please
- Could you provide pretrained weight? HOT 2
- pannuke_datamodule.py is different between your installed package and github code. HOT 2
- Validation loss goes to infinity
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 cellseg_models.pytorch.