brjathu
commited on
Commit
·
c6a8969
1
Parent(s):
0a3baa8
Adding HF files
Browse files- hmr2/utils/mesh_renderer.py +2 -2
- hmr2/utils/renderer.py +2 -2
hmr2/utils/mesh_renderer.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import os
|
| 2 |
-
if 'PYOPENGL_PLATFORM' not in os.environ:
|
| 3 |
-
|
| 4 |
import torch
|
| 5 |
from torchvision.utils import make_grid
|
| 6 |
import numpy as np
|
|
|
|
| 1 |
import os
|
| 2 |
+
# if 'PYOPENGL_PLATFORM' not in os.environ:
|
| 3 |
+
# os.environ['PYOPENGL_PLATFORM'] = 'egl'
|
| 4 |
import torch
|
| 5 |
from torchvision.utils import make_grid
|
| 6 |
import numpy as np
|
hmr2/utils/renderer.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import os
|
| 2 |
-
if 'PYOPENGL_PLATFORM' not in os.environ:
|
| 3 |
-
|
| 4 |
import torch
|
| 5 |
import numpy as np
|
| 6 |
import pyrender
|
|
|
|
| 1 |
import os
|
| 2 |
+
# if 'PYOPENGL_PLATFORM' not in os.environ:
|
| 3 |
+
# os.environ['PYOPENGL_PLATFORM'] = 'egl'
|
| 4 |
import torch
|
| 5 |
import numpy as np
|
| 6 |
import pyrender
|