Comments (2)
hello
I am not sure to understand, which exact state you need to save:
Let say you have a RandomAffine transform instantiate with scales=1 degrees=20 translations=0
so each time you have a new data you get a new rotation.
What do you want to save ?
the exacte rotation value of the last transform ? (what for then ?)
If the objective is to start the training from where you stopped, I do not see the point the save the last used transform state (ie rotation value) if you need to continue training you can just used the same RandomTransform you used to start with ... (because it is random ....) no ?
but may be I miss something here
from torchio.
Hi,
I think you might be right! I was thinking that the transform could differ between subjects e.g. w.r.t. to in_min_max
for some intensity transforms but as long as the initial list of subjects and the SubjectsDataset
can be restored (by just initialising the same transforms and the same subjects), I can restore my state.
This feature request can be therefore closed (I think)!
from torchio.
Related Issues (20)
- Torchio Transformation Does not Working properly HOT 2
- `masked_select` on Z-Normalization slower than indexing HOT 2
- GridSampler without subject for validation HOT 3
- Resize sometimes adds a dimension to LabelMap images HOT 5
- Documentation is not built
- Patch Based Training With Queue Is Not Working Properly HOT 1
- Error when using a lambda function as masking_method in ZNormalization HOT 2
- Combined Affine/Elastic augmentations HOT 1
- The rotation given by Random Affine not accurate HOT 5
- Wrong link to docs in Getting Started tutorial HOT 2
- Suggestions the modifying default value of prefetch_factor and the argument to set it for minimize the blocking-bottleneck between fetch subject and generate patch in Queue HOT 1
- Different transforms applied to CT and label HOT 11
- The Affine matrix does not change after applying the augmentations HOT 3
- Custom loader not used when loading data lazily HOT 2
- Seed is not working HOT 2
- Silenced exception makes it harder to debug custom Transforms HOT 5
- Resample
- tio.Resample does not work with custom image class HOT 2
- Setting NUM_SAMPLES when using sampler with Queue HOT 3
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 torchio.