Code Monkey home page Code Monkey logo

Comments (2)

romainVala avatar romainVala commented on June 24, 2024

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.

nicoloesch avatar nicoloesch commented on June 24, 2024

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)

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.