rasmushaugaard / surfemb

SurfEmb (CVPR 2022)
https://surfemb.github.io/
MIT License
77 stars 17 forks source link

Why to normalize coordinates of objects when rendering? #39

Open LeroyChou opened 4 months ago

LeroyChou commented 4 months ago

Hello, I want to express my gratitude for your excellent work.

I recently observed that you normalize the objects' coordinates using offset and scale in this line. Why not use the original coordinates? I would greatly appreciate it if you could provide the rationale behind this decision. Thank you very much.

rasmushaugaard commented 4 months ago

Hi there The normalized coordinates serve as input to the key model. Normalizing ensures that the scale of the inputs is independent of the scale of the CAD model.

LeroyChou commented 4 months ago

Given that each CAD model utilizes a separate MLP, would it be neccessary to make sure that the input is independent of the scale?

rasmushaugaard commented 4 months ago

Scaling of inputs to neural networks can matter. But yes, it might still work :)