Spaces:
Build error
Build error
First model version
Browse files
app.py
CHANGED
@@ -3,7 +3,9 @@ os.system('pip install "git+https://github.com/philferriere/cocoapi.git#egg=pyco
|
|
3 |
#os.system('python setup.py build develop')
|
4 |
os.system('pip install git+https://github.com/Cyril-Sterling/ContourNet')
|
5 |
os.system('pip install --upgrade --no-cache-dir gdown')
|
6 |
-
os.system('gdown -O ./output/ctw/1Ajslu_9WisuZ2nJGzE6qbD87aK6_ozzA')
|
|
|
|
|
7 |
|
8 |
import cv2
|
9 |
import pandas as pd
|
|
|
3 |
#os.system('python setup.py build develop')
|
4 |
os.system('pip install git+https://github.com/Cyril-Sterling/ContourNet')
|
5 |
os.system('pip install --upgrade --no-cache-dir gdown')
|
6 |
+
#os.system('gdown -O ./output/ctw/ 1Ajslu_9WisuZ2nJGzE6qbD87aK6_ozzA')
|
7 |
+
import gdown
|
8 |
+
gdown.download(id='1Ajslu_9WisuZ2nJGzE6qbD87aK6_ozzA', output='./output/ctw/model_ctw.pth')
|
9 |
|
10 |
import cv2
|
11 |
import pandas as pd
|