Coder Social home page Coder Social logo

Comments (5)

MartinSmeyer avatar MartinSmeyer commented on June 11, 2024

Hi @AminSeffo,

there is no option for that in the config file. But you can simply adapt those two lines and recreate the codebook:

azimuth_range = (0, 2 * np.pi)
elev_range = (-0.5 * np.pi, 0.5 * np.pi)

from augmentedautoencoder.

AminSeffo avatar AminSeffo commented on June 11, 2024

Hey @MartinSmeyer,
thanks a lot for your response.
I will try it out, I think the main problem is the rotational symmetry of the detected part..

from augmentedautoencoder.

AminSeffo avatar AminSeffo commented on June 11, 2024

Hi @AminSeffo,

there is no option for that in the config file. But you can simply adapt those two lines and recreate the codebook:

azimuth_range = (0, 2 * np.pi)
elev_range = (-0.5 * np.pi, 0.5 * np.pi)

I could not realize any changes after changing these two lines to :

        azimuth_range = (0, 2 * np.pi)
        elev_range = (-0.5 * np.pi, 0)

After that I executed the following lines:

- pip install .
- ae_train exp_group/my_autoencoder
- ae_embed exp_group/my_autoencoder

training_images_499

  • What I need are only these three views in different combinations (orientations):

The left view, the right view and the top view as can be seen below:

image(2)

from augmentedautoencoder.

MartinSmeyer avatar MartinSmeyer commented on June 11, 2024

The visualization is for the training, but only the codebook/embedding is changed in these two lines. It doesn't hurt that the training still covers the whole pose space as long as the embedding only contains the correct poses. You can visualize the generated rotations using this function:

def render_rot(self, R, t=None ,downSample = 1):

If you still want to change it for training as well, you need to change adapt the code here:

R = transform.random_rotation_matrix()[:3,:3]

I don't bother much with specific poses, as this process needs to be repeated for every object and thus does not scale. But feel free to engineer it, it will probably give better results.

from augmentedautoencoder.

AminSeffo avatar AminSeffo commented on June 11, 2024

@MartinSmeyer
thank you a lot. I will try to test it just as you explained.

from augmentedautoencoder.

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.