Merge branch 'master' of https://github.com/wty-yy/RoboGauge
This commit is contained in:
@@ -8,7 +8,15 @@
|
||||
@Desc : Run Robogauge Pipeline
|
||||
'''
|
||||
import os
|
||||
os.environ['MUJOCO_GL'] = 'glfw' # avoid mujoco.Renderer EGL context error
|
||||
|
||||
# Headless solution for mujoco
|
||||
# For GPU
|
||||
# os.environ['MUJOCO_GL'] = 'egl'
|
||||
# For CPU (Slow)
|
||||
# os.environ['MUJOCO_GL'] = 'osmesa'
|
||||
# With a graphical user interface (GUI)
|
||||
os.environ['MUJOCO_GL'] = 'glfw'
|
||||
|
||||
os.environ["OMP_NUM_THREADS"] = "1"
|
||||
os.environ["MKL_NUM_THREADS"] = "1"
|
||||
|
||||
|
||||
@@ -8,7 +8,15 @@
|
||||
@Desc : Asynchronous stress pipeline evaluation server
|
||||
'''
|
||||
import os
|
||||
os.environ['MUJOCO_GL'] = 'glfw' # avoid mujoco.Renderer EGL context error
|
||||
|
||||
# Headless solution for mujoco
|
||||
# For GPU
|
||||
# os.environ['MUJOCO_GL'] = 'egl'
|
||||
# For CPU (Slow)
|
||||
# os.environ['MUJOCO_GL'] = 'osmesa'
|
||||
# With a graphical user interface (GUI)
|
||||
os.environ['MUJOCO_GL'] = 'glfw'
|
||||
|
||||
os.environ["OMP_NUM_THREADS"] = "1"
|
||||
os.environ["MKL_NUM_THREADS"] = "1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user