RuntimeError: 0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES
首先这是我用semantic-kitti-api时候出的错误
(pytorch) ziudarkin@ziudarkin-ubuntu:~/semantic-kitti-api$ python visualize_voxels.py --sequence 01 --dataset /home/ziudarkin/semantic-kitti-api/kittti/dataset/
Traceback (most recent call last):
File "visualize_voxels.py", line 603, in
window = Window()
File "visualize_voxels.py", line 112, in __init__
self.initializeGL()
File "visualize_voxels.py", line 214, in initializeGL
self.program.attach(glow.GlShader.fromFile(GL_VERTEX_SHADER, "auxiliary/shaders/draw_voxels.vert"))
File "/home/ziudarkin/semantic-kitti-api/auxiliary/glow.py", line 180, in fromFile
return GlShader(shader_type, source)
File "/home/ziudarkin/semantic-kitti-api/auxiliary/glow.py", line 156, in __init__
raise RuntimeError(error_string)
RuntimeError: 0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES
Exception ignored in:
Traceback (most recent call last):
File "/home/ziudarkin/semantic-kitti-api/auxiliary/glow.py", line 193, in __del__
File "/home/ziudarkin/anaconda3/envs/pytorch/lib/python3.7/site-packages/OpenGL/platform/baseplatform.py", line 414, in __call__
File "/home/ziudarkin/anaconda3/envs/pytorch/lib/python3.7/site-packages/OpenGL/platform/baseplatform.py", line 389, in load
TypeError: 'NoneType' object is not callable
分析一:
网上搜了很多,一开始关注重点是'NoneType' object is not callable
,但是给的方法是如这个链接所示
链接: link.
但是好像不是很符合我,因为我用的点云,这样就没有图片那只有opencv的问题,我原来的opencv_python不行,降级了后也是不行,所以就不是这个问题。
分析二:
RuntimeError: 0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES
那么就是这个问题,网上也搜了很多,最后就是这个问题,结果就是整一下环境就好,代码如下:
export MESA_GL_VERSION_OVERRIDE=3.3
反正我的是好了,嘿,放一张用semantic-kitti-api得到的点云图吧。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)