-
Notifications
You must be signed in to change notification settings - Fork 231
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
OpenGL.error.GLError #34
Comments
Also, when I am about to run the evaluation code, another error happens: pygame 2.0.1 (SDL 2.0.14, Python 3.6.13) |
I noticed that somebody said opengl-file is needed when installing nvidia driver. But without assigning "no-opengl-files", the system will be trapped into login loop. |
About opengl visualization problem, here are two possible solutions:
About loading pkl files, please make sure that you get the 3DPW datasets organized as:
|
Thanks for your explanation! The pkl problem has been solved successfully. Does the commands look like this:
|
Oh, I ran the evaluation code successfully. But there's still an error after processing. pygame 2.0.1 (SDL 2.0.14, Python 3.6.13) |
Yes, the error is pretty clear: |
Thank you! Evaluation problem solved. |
I think the reason lie in the computation precision. We use AMP (automatic mixed precision) for training. |
Thanks for your explanation! Almost all steps are finished successfully, except for the visualisation.... |
Thanks for you interets in our work. |
Thank you! You made an outstanding contribution to the community, and I I wish you all the best in the future. |
Hey. I have tested that the video can be shown in Ubuntu18.04. The system causes the error. |
Glad to know that it finally works. |
Thanks for your work. I am running your demo with CUDA_VISIBLE_DEVICES=0 python core/test.py --gpu=0 --configs_yml=configs/single_image.yml
But an error occurs.
I am running with ubuntu16.04. The python verison is 3.6.9. How should I check what's happening?
(romp) jack@jack-System-Product-Name:~/Documents/ROMP/src$ CUDA_VISIBLE_DEVICES=0 python core/test.py --configs_yml=configs/single_image.yml
pygame 2.0.1 (SDL 2.0.14, Python 3.6.13)
Hello from the pygame community. https://www.pygame.org/contribute.html
INFO:root:{'tab': 'hrnet_cm64_single_image_test', 'configs_yml': 'configs/single_image.yml', 'demo_image_folder': '/path/to/image_folder', 'local_rank': 0, 'model_version': 1, 'multi_person': True, 'collision_aware_centermap': False, 'collision_factor': 0.2, 'kp3d_format': 'smpl24', 'eval': False, 'max_person': 64, 'input_size': 512, 'Rot_type': '6D', 'rot_dim': 6, 'centermap_conf_thresh': 0.25, 'centermap_size': 64, 'deconv_num': 0, 'model_precision': 'fp32', 'backbone': 'hrnet', 'gmodel_path': '../trained_models/ROMP_hrnet32.pkl', 'print_freq': 50, 'fine_tune': True, 'gpu': '0', 'batch_size': 64, 'val_batch_size': 1, 'nw': 4, 'calc_PVE_error': False, 'dataset_rootdir': '/home/jack/Documents/dataset/', 'high_resolution': True, 'save_best_folder': '/home/jack/Documents/checkpoints/', 'log_path': '/home/jack/Documents/log/', 'total_param_count': 85, 'smpl_mean_param_path': '/home/jack/Documents/ROMP/models/satistic_data/neutral_smpl_mean_params.h5', 'smpl_model': '/home/jack/Documents/ROMP/models/statistic_data/neutral_smpl_with_cocoplus_reg.txt', 'smplx_model': True, 'cam_dim': 3, 'beta_dim': 10, 'smpl_joint_num': 22, 'smpl_model_path': '/home/jack/Documents/ROMP/models', 'smpl_J_reg_h37m_path': '/home/jack/Documents/ROMP/models/smpl/J_regressor_h36m.npy', 'smpl_J_reg_extra_path': '/home/jack/Documents/ROMP/models/smpl/J_regressor_extra.npy', 'kernel_sizes': [5], 'GPUS': 0, 'use_coordmaps': True, 'webcam': False, 'video_or_frame': False, 'save_visualization_on_img': True, 'output_dir': '/path/to/outputdir', 'save_mesh': True, 'save_centermap': True, 'save_dict_results': True, 'multiprocess': False}
INFO:root:------------------------------------------------------------------
INFO:root:start building model.
Using ROMP v1
INFO:root:using fine_tune model: ../trained_models/ROMP_hrnet32.pkl
INFO:root:finished build model.
Traceback (most recent call last):
File "core/test.py", line 225, in
main()
File "core/test.py", line 205, in main
demo = Demo()
File "core/test.py", line 7, in init
self.prepare_modules()
File "core/test.py", line 14, in prepare_modules
self.visualizer = Visualizer(resolution=self.vis_size, input_size=self.input_size,with_renderer=True)
File "/home/jack/Documents/ROMP/src/core/../lib/models/../utils/../maps_utils/../dataset/../dataset/../dataset/../visualization/visualization.py", line 23, in init
self.renderer = get_renderer(resolution=resolution)
File "/home/jack/Documents/ROMP/src/core/../lib/models/../utils/../maps_utils/../dataset/../dataset/../dataset/../visualization/../visualization/renderer.py", line 142, in get_renderer
renderer = Renderer(faces,resolution=resolution[:2])
File "/home/jack/Documents/ROMP/src/core/../lib/models/../utils/../maps_utils/../dataset/../dataset/../dataset/../visualization/../visualization/renderer.py", line 72, in init
point_size=1.0)
File "/home/jack/anaconda3/envs/romp/lib/python3.6/site-packages/pyrender/offscreen.py", line 31, in init
self._create()
File "/home/jack/anaconda3/envs/romp/lib/python3.6/site-packages/pyrender/offscreen.py", line 149, in _create
self._platform.init_context()
File "/home/jack/anaconda3/envs/romp/lib/python3.6/site-packages/pyrender/platforms/egl.py", line 188, in init_context
EGL_NO_CONTEXT, context_attributes
File "/home/jack/anaconda3/envs/romp/lib/python3.6/site-packages/OpenGL/platform/baseplatform.py", line 402, in call
return self( *args, **named )
File "/home/jack/anaconda3/envs/romp/lib/python3.6/site-packages/OpenGL/error.py", line 232, in glCheckError
baseOperation = baseOperation,
OpenGL.error.GLError: GLError(
err = 12297,
baseOperation = eglCreateContext,
cArguments = (
<OpenGL._opaque.EGLDisplay_pointer object at 0x7ff367d4e268>,
<OpenGL._opaque.EGLConfig_pointer object at 0x7ff367d4e1e0>,
<OpenGL._opaque.EGLContext_pointer object at 0x7ff367e84d08>,
<OpenGL.arrays.lists.c_int_Array_7 object at 0x7ff367e64d08>,
),
result = <OpenGL._opaque.EGLContext_pointer object at 0x7ff367d311e0>
)
The text was updated successfully, but these errors were encountered: