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

Example for visualization #8

Open
shamangary opened this issue Apr 7, 2022 · 2 comments
Open

Example for visualization #8

shamangary opened this issue Apr 7, 2022 · 2 comments

Comments

@shamangary
Copy link

shamangary commented Apr 7, 2022

Hello. Very impressive project.
Just want to ask, is it possible to provide some example data (e.g. 1 or 2 files) for the inference and visualization for 1) cad estimation with gt, and 2)pointcloud estimated cad with it's ground truth?

A side-by-side comparison can help people to understand the difference quicker.
Specifically for the "show.py" and step file.

Thanks again for the great repo!

Kind Regards,
Tsun-Yi

@shamangary
Copy link
Author

shamangary commented Apr 7, 2022

Also, by downloading the data, it seems like the show.py for the cad won't work directly?

>> python show.py --src ../data/cad_vec/0000 --form h5

image


This problem is solved by using wxpython in Mac OSX. Somehow qt5 with SimpleGUI wouldn't work on Mac.

modified "show.py"

display, start_display, add_menu, add_function_to_menu = init_display("wx")
out_vec = fp["vec"][:].astype(np.float)
out_shape = vec2CADsolid(out_vec)
# if args.with_gt:
#     gt_vec = fp["gt_vec"][:].astype(np.float)
#     gt_shape = vec2CADsolid(gt_vec)

Running on Mac

>> pythonw show.py --src ../data/cad_vec/0000 --num 10

@Xqle
Copy link

Xqle commented Nov 21, 2023

Great method! It's really helpful to my situation, thx!

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