-
Notifications
You must be signed in to change notification settings - Fork 69
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
An error occurred(Segmentation fault) while loading the model #16
Comments
Hi @GuaGod , looks like the model has already been successfully loaded since the log you highlighted should be printed after model loading.
|
That's strange 😶🌫️ . Your OpenGL setup looks fine. evc -t test -c configs/projects/realtime4dv/rendering/4k4d_sport1.yaml,configs/specs/eval.yaml Another thing to try is to disable the compatibiliy profile window hint by commenting these two lines here: |
Hello, and thank you for your excellent work. In my situation, off-screen rendering works fine, but I encounter an error when attempting rendering with a GUI. I followed your suggestion to comment out two lines, but I am still experiencing issues running in GUI mode. Here are the details of my environment:
|
Hi @YongmoonPark thanks for trying out our code! Does the command also throw a segmentation fault in your case? |
Hey guys @GuaGod @YongmoonPark , could you try replacing the For example, try running |
Thank you, @dendenxu, for your prompt and kind response. In my case, off-screen rendering works fine, but when I attempt rendering with a GUI, I encounter the same error. I tried following your instructions to comment out two lines, but I'm still facing an error when running in GUI mode. Here is the error message I received: When executing the command:
whole error message
The process stopped with the error: AttributeError: 'batch_size'. |
Thanks for the feedback @YongmoonPark ! I could not reproduce the |
Thank you for your prompt response, @dendenxu . I am indeed using the latest commit. I'll take your advice and recheck everything, including reinstalling my environment, to ensure |
@YongmoonPark Ah, no need for reintalling the environment. But you could try reinstalling 4K4D itself by executing |
Could you check whether this file 2024-01-15 09:36:28.746102 __main__ -> preflight: Starting experiment: gui, command: gui |
I have verified the location of
It seems that the issue might be occurring because the Thank you. Your advice has been helpful in narrowing down the cause of the problem. |
@GuaGod @YongmoonPark Curious to ask, are you running on WSL2 instead of native Windows/Ubuntu? Related issue. |
@GuaGod @YongmoonPark Hi folks! Sorry to bother again, but I pushed an update that made the GUI more compatible and make errors messages easier to understand (including segmentation faults). |
@dendenxu I have also confirmed the same error occurs when running the simple sample code of imgui_bundle below:
|
Glad to know we're narrowing down the search. Maybe you could also try starting up python with python -q -X faulthandler -c "from imgui_bundle import imgui, immapp; imgui.create_context(); immapp.run(gui_function=lambda: imgui.text('Hello, world.'));" |
The text was updated successfully, but these errors were encountered: