Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to sample cond with onshape models #5

Open
Alex-experiments opened this issue Feb 15, 2024 · 0 comments
Open

How to sample cond with onshape models #5

Alex-experiments opened this issue Feb 15, 2024 · 0 comments

Comments

@Alex-experiments
Copy link

I don't understand how we're supposed to sample conditionally from our own onshape model, even with a trained conditional generator.

I tried to use it to complete my onshape creations, following the procedure from skexgen:

  • I first download the json file with DeepCAD onshape parser
  • transformed the json files into obj files and normalize then with your SkexGen procedure.
  • finally, I applied the data_process/convert.py file from this repo (with format 'model').

The problem comes from the fact that to be used, the data must have all its solid_uid, profile_uids and loop_uids in the codebook. From what I could understand, the solid_uid is just the order in which the model appears in the DeepCAD dataset and the others uids derive directly from it.

I tried to force the uids to be contained in the codebooks but obviously the results are not great even with a mid-trained model (~125 epochs).

What is the correct procedure to complete our own OnShape models? I'd be very interested in knowing if such a procedure exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant