Giter Site home page Giter Site logo

Saving transformations about amst HOT 4 CLOSED

rixjilli avatar rixjilli commented on July 16, 2024
Saving transformations

from amst.

Comments (4)

jhennies avatar jhennies commented on July 16, 2024

Hi!

This is currently not implemented, but it should be feasible to write out all transformations and then run the workflow on another dataset with exactly the same transformations. I can have a look at this in the coming days.

Cheers,
Julian

from amst.

rixjilli avatar rixjilli commented on July 16, 2024

Hi Julian,

That would be really helpful, thanks very much for getting back to me!

Best,
Jillian

from amst.

jhennies avatar jhennies commented on July 16, 2024

I implemented that AMST saves all transformations when run initially. Then as a second step you can now run these transformations on a second dataset. Only requirement: both datasets need to be the same shape and pixel size.

You find it in the branch pre_align_workflow, it is not added to the master branch yet.

Now you can run the amst_align() function as before (Note: you have to compute your dataset again, the earlier version did not store the required transformations). Afterwards run the apply_amst_transformations() function for the other dataset. Make sure that the "target_folder" is the same folder for both runs (it will create subfolders for the respective results).

For a bit more information have a look at the scripts folder and, in particular, here:
https://github.com/jhennies/amst/blob/pre_align_workflow/scripts/run_amst.py

and here:
https://github.com/jhennies/amst/blob/pre_align_workflow/scripts/run_amst_transforms.py

Let me know if I can help you with anything or if you run into further issues!

from amst.

rixjilli avatar rixjilli commented on July 16, 2024

Great, thanks so much! I look forward to implementing this.

from amst.

Related Issues (9)

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.