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 map train_edge.py files to .step source data? #2

Open
zctlovesy0313 opened this issue Oct 31, 2024 · 2 comments
Open

How to map train_edge.py files to .step source data? #2

zctlovesy0313 opened this issue Oct 31, 2024 · 2 comments

Comments

@zctlovesy0313
Copy link

How do I map the result labels predicted by the model to the STEP model for visualization?
c59b01277c5a5f42243c6d6f55d540a
The shape of logits is 704, what does 704 represent?
The events I run are:https://www.sciencedirect.com/science/article/pii/S0010448522000240#appB

@AndrewColligan
Copy link
Owner

Hi, in the Hierarchical CADNet repo there is a script called test_and_save.py that can be used to predict the machining features for individual CAD models and save the results to a CAD model (with a label per B-Rep face) using a trained NN.

The logit shape is the total number of B-Rep faces predicted per minibatch. The minibatch is made up of a number of the graphs of different CAD models, each of these CAD models will have a different number of B-Rep faces associated with them. Therefore, logit shape will be different each minibatch as the number of B-Rep faces of each CAD model will differ.

Logit shape = total number of B-Rep faces in each CAD model in the minibatch

Hope this helps 😄

@zctlovesy0313
Copy link
Author

Thank you! Another question: how to get string data representing different polygon labels, e.g. [1,24,2,12,6,......]. Each number represents a different face.And can I get, for example, the relative position of a hole relative to the entire drawing, so that I can generate the machining path of the CNC machine? Do you have any good suggestions, please?

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

2 participants