alievk / npbg

Neural Point-Based Graphics
MIT License
324 stars 51 forks source link

unable to load numpy_formathandler accelerator from OpenGL_accelerate #13

Closed alex4727 closed 3 years ago

alex4727 commented 3 years ago

Hi, currently testing the code with sample data but there seems to be an error loading numpy_formathandler accelerator. After calling python viewer.py --config downloads/person_1.yaml --viewport 2000,1328 --origin-view, the view.py window freezes with above error. I can't figure out what's wrong here. Any idea? Thanks!

Screenshot from 2020-12-31 04-22-42

seva100 commented 3 years ago

Actually we have the same debug message when running viewer.py, but it does not affect the rendering. The viewer is still able to run successfully with this message.

Try to press the "Wait" button and to see if it helps.

ср, 30 дек. 2020 г., 22:23 alex4727 notifications@github.com:

Hi, currently testing the code with sample data but there seems to be an error loading numpy_formathandler accelerator. After calling python viewer.py --config downloads/person_1.yaml --viewport 2000,1328 --origin-view, the view.py window freezes with above error. I can't figure out what's wrong here. Any idea? Thanks!

[image: Screenshot from 2020-12-31 04-22-42] https://user-images.githubusercontent.com/60963841/103376413-e8fe9580-4b1f-11eb-9c32-1654b5a9696a.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/alievk/npbg/issues/13, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMXAFRRT44NCVCJUXDY3WLSXN43XANCNFSM4VOUKM7A .

alex4727 commented 3 years ago

I'm currently using Nvidia rtx 3070 graphics card which is known to have similar performance compared to RTX2080 which is at least a bit better than recommended gpu (1080ti). How long does it take for typical gpu to work on this sample dataset?

seva100 commented 3 years ago

For the "person1" dataset and ~FullHD resolution, viewer.py operates at ~4 FPS on 1080ti on my end. Do you observe worse performance? If FPS is low, decreasing resolution in --viewport should help.