-
Notifications
You must be signed in to change notification settings - Fork 32
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
Output is completely black #14
Comments
Have you installed the latest requirements.txt and install.sh? |
same problem! here is the output of Name Version Build Channel python version is 3.9, cuda is 11.6 |
@iulsko what OS you are using? |
@Khrylx hi! i am using ubuntu 20.04 |
Check out solutions here: The issue is mainly with pyvista. You can try first to run their examples in the link above |
@Khrylx yes, I have already done so, I can generate the shadow.png and have installed pyopengl (seen in my |
are you able to pop a vis GUI with |
@Khrylx yes, it does. so, the GUI window popped up after Hybrik fitting was done and i can find the video in pose_est/render.mp4. but it is completely black with the exception of the coordinate frame at the bottom left. moreover, the fitting process for GLAMR is not running. |
I'm perplexed that the window is completely black. The fitting process only runs once since it will use cached results saved when running first time. |
@Khrylx the cached results are only stored in the |
Yes, that's correct. |
@Khrylx could you maybe confirm the structure of the folder?
i am not including the contents of the Hybrik folder as I assume they are ok. |
Looks good, I think it's mostly an issue with the renderer. I attached my conda env file here for your reference.
|
@Khrylx absolutely no idea
i still only see the Hybrik output |
can you try running this file directly? https://github.com/NVlabs/GLAMR/blob/62e9f30f7aaa38e6a8b3142f83e0457063928f85/lib/utils/visualizer3d.py |
@Khrylx well, if i do |
I made some changes and you can now run it directly. |
@Khrylx here is my visualization still nothing. at the end of the fitting I see: saving world animation for "video" |
This is something right? Do you see this when running GLAMR or do you see entire black screen |
@Khrylx this is the viz i get from running |
This is just a test video to see if pyvista works. It seems something wrong with vis_grecon.py. Since I can't reproduce the error, it's really hard for me to figure out what exactly is wrong. One way debug, is to gradually remove things from vis_grecon.py until it's not completely black. |
@Khrylx i don't quite understand how that technique would work. so, visualizer3d.py works and is used in vis_grecon.py to initialize a class. but i already have a blank output. if i keep removing part of code in vis_grecon.py, I will only get errors but not come to a point where the output becomes blank. |
vis_grecon.py gives you something black right? so if you gradually reduce the things in vis_grecon.py, e.g., removing the smpl_actors etc, you should be able to get what you get from visualizer3d.py, which is not black. |
@Khrylx wait, exactly the reverse is happening:
|
|
Could you try this version and let me know whether the output is still black? |
@Khrylx the output is complete blank, now the original video is not showing in central frame "GLAMR (Cam)" |
Ok, I found out it's a problem with anti_aliasing, so you just need to set Please confirm if this fix works for you. |
@Khrylx Ye, thank you so much! works like a charm. thanks for taking the time to look into this 😊 |
No problem! Fixed in commit: f0602fd |
does the black output fixed now? |
@jinfagang Yes, it should be fixed now. |
output is empty
The text was updated successfully, but these errors were encountered: