Closed AstitvaSri closed 3 years ago
Hey, While generating the data using render_data.py with OpenGL 3.1.5 (as recommended), the following error was encountered:
Linker failure: b"error: vertex shader lacks `main'\n" 3 Traceback (most recent call last): File "/home/iiit/anaconda3/envs/ENV_PIFU_TRAIN/lib/python3.7/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/home/iiit/anaconda3/envs/ENV_PIFU_TRAIN/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/iiit/PIFu_Training/PIFu-master/apps/render_data.py", line 290, in rndr = PRTRender(width=args.size, height=args.size, ms_rate=args.ms_rate, egl=args.egl) File "/home/iiit/PIFu_Training/PIFu-master/lib/renderer/gl/prt_render.py", line 10, in init CamRender.init(self, width, height, name, program_files=program_files, color_size=8, ms_rate=ms_rate, egl=egl) File "/home/iiit/PIFu_Training/PIFu-master/lib/renderer/gl/cam_render.py", line 8, in init Render.init(self, width, height, name, program_files, color_size, ms_rate=ms_rate, egl=egl) File "/home/iiit/PIFu_Training/PIFu-master/lib/renderer/gl/render.py", line 42, in init self.model_mat_unif = glGetUniformLocation(self.program, 'ModelMat') File "/home/iiit/anaconda3/envs/ENV_PIFU_TRAIN/lib/python3.7/site-packages/OpenGL/latebind.py", line 63, in call return self.wrapperFunction( self.baseFunction, *args, *named ) File "/home/iiit/anaconda3/envs/ENV_PIFU_TRAIN/lib/python3.7/site-packages/OpenGL/GL/VERSION/GL_2_0.py", line 430, in glGetUniformLocation return baseOperation( program, name ) File "/home/iiit/anaconda3/envs/ENV_PIFU_TRAIN/lib/python3.7/site-packages/OpenGL/platform/baseplatform.py", line 415, in call return self( args, **named ) File "/home/iiit/anaconda3/envs/ENV_PIFU_TRAIN/lib/python3.7/site-packages/OpenGL/error.py", line 234, in glCheckError baseOperation = baseOperation, OpenGL.error.GLError: GLError( err = 1282, description = b'invalid operation', baseOperation = glGetUniformLocation, cArguments = (3, b'ModelMat\x00'), result = -1 )
`main'\n"
I've tried various versions of OpenGL but the issue is still remaining? Can you look into this.
Can you provide necessary information (e.g., OS, environment) to reproduce the issue?
Hey, While generating the data using render_data.py with OpenGL 3.1.5 (as recommended), the following error was encountered:
Linker failure: b"error: vertex shader lacks
rndr = PRTRender(width=args.size, height=args.size, ms_rate=args.ms_rate, egl=args.egl)
File "/home/iiit/PIFu_Training/PIFu-master/lib/renderer/gl/prt_render.py", line 10, in init
CamRender.init(self, width, height, name, program_files=program_files, color_size=8, ms_rate=ms_rate, egl=egl)
File "/home/iiit/PIFu_Training/PIFu-master/lib/renderer/gl/cam_render.py", line 8, in init
Render.init(self, width, height, name, program_files, color_size, ms_rate=ms_rate, egl=egl)
File "/home/iiit/PIFu_Training/PIFu-master/lib/renderer/gl/render.py", line 42, in init
self.model_mat_unif = glGetUniformLocation(self.program, 'ModelMat')
File "/home/iiit/anaconda3/envs/ENV_PIFU_TRAIN/lib/python3.7/site-packages/OpenGL/latebind.py", line 63, in call
return self.wrapperFunction( self.baseFunction, *args, *named )
File "/home/iiit/anaconda3/envs/ENV_PIFU_TRAIN/lib/python3.7/site-packages/OpenGL/GL/VERSION/GL_2_0.py", line 430, in glGetUniformLocation
return baseOperation( program, name )
File "/home/iiit/anaconda3/envs/ENV_PIFU_TRAIN/lib/python3.7/site-packages/OpenGL/platform/baseplatform.py", line 415, in call
return self( args, **named )
File "/home/iiit/anaconda3/envs/ENV_PIFU_TRAIN/lib/python3.7/site-packages/OpenGL/error.py", line 234, in glCheckError
baseOperation = baseOperation,
OpenGL.error.GLError: GLError(
err = 1282,
description = b'invalid operation',
baseOperation = glGetUniformLocation,
cArguments = (3, b'ModelMat\x00'),
result = -1
)
`main'\n"
3 Traceback (most recent call last): File "/home/iiit/anaconda3/envs/ENV_PIFU_TRAIN/lib/python3.7/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/home/iiit/anaconda3/envs/ENV_PIFU_TRAIN/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/iiit/PIFu_Training/PIFu-master/apps/render_data.py", line 290, inI've tried various versions of OpenGL but the issue is still remaining? Can you look into this.