Cyril666 commited on
Commit
340f038
·
1 Parent(s): 0cb0f57

First model version

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -1,11 +1,9 @@
1
  import os
 
2
  os.system('pip install "git+https://github.com/philferriere/cocoapi.git#egg=pycocotools&subdirectory=PythonAPI"')
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
 
1
  import os
2
+ os.system('gdown -O ./output/ctw/ 1Ajslu_9WisuZ2nJGzE6qbD87aK6_ozzA')
3
  os.system('pip install "git+https://github.com/philferriere/cocoapi.git#egg=pycocotools&subdirectory=PythonAPI"')
4
  #os.system('python setup.py build develop')
5
  os.system('pip install git+https://github.com/Cyril-Sterling/ContourNet')
6
  os.system('pip install --upgrade --no-cache-dir gdown')
 
 
 
7
 
8
  import cv2
9
  import pandas as pd