Liangyu commited on
Commit
d0f4e72
β€’
1 Parent(s): 581e1e5

install psg

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -16,8 +16,9 @@ if os.getenv('SYSTEM') == 'spaces':
16
  subprocess.call('pip install opencv-python-headless==4.5.5.64'.split())
17
  subprocess.call('pip install pycocotools'.split())
18
  subprocess.call("pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.9/index.html".split())
19
- subprocess.call("git clone https://github.com/Jingkang50/OpenPSG.git".split())
20
- subprocess.call("pip install -e OpenPSG".split())
 
21
 
22
  # pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.9/index.html
23
  # detectron2==0.6 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu113/torch1.10/index.html
 
16
  subprocess.call('pip install opencv-python-headless==4.5.5.64'.split())
17
  subprocess.call('pip install pycocotools'.split())
18
  subprocess.call("pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.9/index.html".split())
19
+ subprocess.call("git clone https://github.com/c-liangyu/OpenPSG.git".split())
20
+ subprocess.call("git checkout dev_apis".split())
21
+ subprocess.call("pip install -v -e OpenPSG".split())
22
 
23
  # pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.9/index.html
24
  # detectron2==0.6 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu113/torch1.10/index.html