vobecant commited on
Commit
9e9b470
·
1 Parent(s): bb0d0b7

Initial commit.

Browse files
Files changed (2) hide show
  1. .idea/workspace.xml +9 -2
  2. app.py +4 -4
.idea/workspace.xml CHANGED
@@ -50,7 +50,7 @@
50
  <option name="number" value="Default" />
51
  <option name="presentableId" value="Default" />
52
  <updated>1647350746642</updated>
53
- <workItem from="1647350750956" duration="10459000" />
54
  </task>
55
  <task id="LOCAL-00001" summary="Initial commit.">
56
  <created>1647352693910</created>
@@ -325,7 +325,14 @@
325
  <option name="project" value="LOCAL" />
326
  <updated>1647361256773</updated>
327
  </task>
328
- <option name="localTasksCounter" value="40" />
 
 
 
 
 
 
 
329
  <servers />
330
  </component>
331
  <component name="TypeScriptGeneratedFilesManager">
 
50
  <option name="number" value="Default" />
51
  <option name="presentableId" value="Default" />
52
  <updated>1647350746642</updated>
53
+ <workItem from="1647350750956" duration="10672000" />
54
  </task>
55
  <task id="LOCAL-00001" summary="Initial commit.">
56
  <created>1647352693910</created>
 
325
  <option name="project" value="LOCAL" />
326
  <updated>1647361256773</updated>
327
  </task>
328
+ <task id="LOCAL-00040" summary="Initial commit.">
329
+ <created>1647361647000</created>
330
+ <option name="number" value="00040" />
331
+ <option name="presentableId" value="LOCAL-00040" />
332
+ <option name="project" value="LOCAL" />
333
+ <updated>1647361647000</updated>
334
+ </task>
335
+ <option name="localTasksCounter" value="41" />
336
  <servers />
337
  </component>
338
  <component name="TypeScriptGeneratedFilesManager">
app.py CHANGED
@@ -50,10 +50,10 @@ def download_file_from_google_drive(destination=WEIGHTS):
50
 
51
 
52
  def download_weights():
53
- if not os.path.exists(WEIGHTS):
54
- url = 'https://data.ciirc.cvut.cz/public/projects/2022DriveAndSegment/segmenter.pth'
55
- import urllib.request
56
- urllib.request.urlretrieve(url, WEIGHTS)
57
 
58
 
59
  def segment_segmenter(image, model, window_size, window_stride, encoder_features=False, decoder_features=False,
 
50
 
51
 
52
  def download_weights():
53
+ # if not os.path.exists(WEIGHTS):
54
+ url = 'https://data.ciirc.cvut.cz/public/projects/2022DriveAndSegment/segmenter_nusc.pth'
55
+ import urllib.request
56
+ urllib.request.urlretrieve(url, WEIGHTS)
57
 
58
 
59
  def segment_segmenter(image, model, window_size, window_stride, encoder_features=False, decoder_features=False,