-
Notifications
You must be signed in to change notification settings - Fork 16
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
pythonocc visualization error #4
Comments
Hello, Install pythonocc-core version 7.4.0 as such: Viewer3d now excepts 1 argument
You can just pass None in gen/cad_img.py at line 15 Hope this helps |
Thank you for your answer @Alex-experiments.
Have you ever experienced an error like the one above? |
I did not encounter this error so I'm not sure that I'll be able to help, though I noticed that you are using python 3.7 |
@hxngiee apologies for my previous answer, as it turned out I encountered the same issue while trying to recreate my process. I have tried with python 3.8 and 3.9 and ends up with the same issue. I could only make it work with windows, where I don't have that sort of issue. I think at least for the sample_uncond pipeline, everything now works with windows. I was a huge hassle though and I have no idea on how this pipeline could work with linux. |
Hello, I want to form a web demo of the whole process via gradio for adjustable parameter model generation and visualization in 2D as well as 3D. |
Hello, I did not made any further try to make it work on linux tbh I stood with the "easy" windows solution. For instance, he claims that conditional gen should be trained for 250 epochs. I implemented validation loss monitoring (really not a lot of work since the validation set was there, untouched, since the beginning) and found out that it minimized at the 14th epoch... (saving ~20 hours of training on my computer btw) I also tried to reduce the insane number of steps needed to do some conditional inference on a custom 3D model from onshape. I'm not sure if I'll be able to publish the updated code (I'll keep you posted) but there sure are a lot of things to redo in this repo |
Thank you very much for your answer, I am equally interested in the conditional model generation part of its code and also struggling with its redundant data transformations. I have temporarily solved the problem of occ visualization on linux, which is actually launched on Linux via a virtual graphics server. For the data, I'll consider trying more feature forms afterward, not just sketch and extrude. Looking forward to your updated code, it should inspire me quite a bit! |
Hello @Lydiagugugaga |
Thank you for your amazing work. When visualizing sample results, the following error appears. Is it possible to identify the cause? Also, could you provide the version of pythonocc?
The text was updated successfully, but these errors were encountered: