GithubHelp home page GithubHelp logo

Transform Dataset object to list about dmasif HOT 5 CLOSED

freyrs avatar freyrs commented on July 21, 2024
Transform Dataset object to list

from dmasif.

Comments (5)

linminhtoo avatar linminhtoo commented on July 21, 2024

I'm also confused about this. if args.random_rotation, the transforms are passed to the training dataset. however, inside the training loop, the same transforms are done again, but looping each sample inside the batch.

It seems inefficient, and also quite confusing, because I also realised the rotation operations inside iterate_surface_precompute are using P1["rand_rot"].T while the rotation operations in the main training loop (data_iteration.iterate) are using P1["rand_rot"] . So are we actually reversing the rotation ...? (then why do we rotate in the first place?)

from dmasif.

geraseva avatar geraseva commented on July 21, 2024

I guess that these augmentations are used only for surface precomputation. So, they are undone in the main training loop. It is rather strange, but i get it.

from dmasif.

linminhtoo avatar linminhtoo commented on July 21, 2024

I guess that these augmentations are used only for surface precomputation. So, they are undone in the main training loop. It is rather strange, but i get it.

Could you please clarify why this makes sense? Why do we need to undo the augmentation? Don't we want the model to not care about the rotation & center positions?

from dmasif.

geraseva avatar geraseva commented on July 21, 2024

I guess that these augmentations are used only for surface precomputation. So, they are undone in the main training loop. It is rather strange, but i get it.

Could you please clarify why this makes sense? Why do we need to undo the augmentation? Don't we want the model to not care about the rotation & center positions?

I think, rotations and translations do not matter, when you use masif. But they also use dgcnn for comparison, and this model does not have rotational invariance, so augmentations in the main training loop are necessary. That is why it is strange that they do not use them.

from dmasif.

linminhtoo avatar linminhtoo commented on July 21, 2024

@FreyrS Hi Frey, could you provide some clarification to this part? It would be very helpful for us

from dmasif.

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.