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

openpsg already exists

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -16,9 +16,10 @@ 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/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
 
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("pip install git+https://github.com/c-liangyu/OpenPSG.git@dev_apis".split())
21
+ # subprocess.call("git checkout dev_apis".split())
22
+ # subprocess.call("pip install -v -e OpenPSG".split())
23
 
24
  # pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.9/index.html
25
  # detectron2==0.6 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu113/torch1.10/index.html