feifeifeiliu commited on
Commit
22031b8
·
1 Parent(s): 30b5352

Upload rendering.py

Browse files
Files changed (1) hide show
  1. visualise/rendering.py +4 -1
visualise/rendering.py CHANGED
@@ -9,6 +9,9 @@ from subprocess import call
9
 
10
  import numpy as np
11
  from scipy.io import wavfile
 
 
 
12
  import pyrender
13
 
14
  # from psbody.mesh import Mesh
@@ -16,7 +19,7 @@ import pyrender
16
  import librosa
17
 
18
  from tqdm import tqdm
19
- # os.environ['PYOPENGL_PLATFORM'] = 'osmesa' # Uncommnet this line while running remotely
20
  # import open3d as o3d
21
  from data_utils.utils import load_wav_old
22
  from voca.rendering import render_mesh_helper
 
9
 
10
  import numpy as np
11
  from scipy.io import wavfile
12
+
13
+ os.environ['PYOPENGL_PLATFORM'] = 'osmesa' # Uncommnet this line while running remotely
14
+
15
  import pyrender
16
 
17
  # from psbody.mesh import Mesh
 
19
  import librosa
20
 
21
  from tqdm import tqdm
22
+
23
  # import open3d as o3d
24
  from data_utils.utils import load_wav_old
25
  from voca.rendering import render_mesh_helper