ac5113 commited on
Commit
8629beb
·
1 Parent(s): 0ad2156

minor fixes

Browse files
Files changed (2) hide show
  1. app.py +1 -2
  2. packages.txt +4 -1
app.py CHANGED
@@ -1,6 +1,5 @@
1
  import torch
2
  import os
3
- import glob
4
  import numpy as np
5
  import cv2
6
  import PIL.Image as pil_img
@@ -19,7 +18,7 @@ import pyrender
19
  from models.deco import DECO
20
  from common import constants
21
 
22
- # os.environ['PYOPENGL_PLATFORM'] = 'osmesa'
23
 
24
  if torch.cuda.is_available():
25
  device = torch.device('cuda')
 
1
  import torch
2
  import os
 
3
  import numpy as np
4
  import cv2
5
  import PIL.Image as pil_img
 
18
  from models.deco import DECO
19
  from common import constants
20
 
21
+ os.environ['PYOPENGL_PLATFORM'] = 'osmesa'
22
 
23
  if torch.cuda.is_available():
24
  device = torch.device('cuda')
packages.txt CHANGED
@@ -1 +1,4 @@
1
- freeglut3-dev
 
 
 
 
1
+ llvm-6.0
2
+ freeglut3
3
+ freeglut3-dev
4
+ https://github.com/mmatl/travis_debs/raw/master/xenial/mesa_18.3.3-0.deb