vobecant commited on
Commit
dc73bbd
1 Parent(s): e105ab9

Initial commit.

Browse files
Files changed (2) hide show
  1. .idea/workspace.xml +16 -4
  2. segmenter_model/utils.py +1 -1
.idea/workspace.xml CHANGED
@@ -2,8 +2,6 @@
2
  <project version="4">
3
  <component name="ChangeListManager">
4
  <list default="true" id="5dd22f22-8223-4d55-99f9-57d1e00622d7" name="Default Changelist" comment="Initial commit.">
5
- <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
6
- <change beforePath="$PROJECT_DIR$/app.py" beforeDir="false" afterPath="$PROJECT_DIR$/app.py" afterDir="false" />
7
  <change beforePath="$PROJECT_DIR$/segmenter_model/utils.py" beforeDir="false" afterPath="$PROJECT_DIR$/segmenter_model/utils.py" afterDir="false" />
8
  </list>
9
  <option name="SHOW_DIALOG" value="false" />
@@ -52,7 +50,7 @@
52
  <option name="number" value="Default" />
53
  <option name="presentableId" value="Default" />
54
  <updated>1647350746642</updated>
55
- <workItem from="1647350750956" duration="8760000" />
56
  </task>
57
  <task id="LOCAL-00001" summary="Initial commit.">
58
  <created>1647352693910</created>
@@ -264,7 +262,21 @@
264
  <option name="project" value="LOCAL" />
265
  <updated>1647359586436</updated>
266
  </task>
267
- <option name="localTasksCounter" value="31" />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
268
  <servers />
269
  </component>
270
  <component name="TypeScriptGeneratedFilesManager">
2
  <project version="4">
3
  <component name="ChangeListManager">
4
  <list default="true" id="5dd22f22-8223-4d55-99f9-57d1e00622d7" name="Default Changelist" comment="Initial commit.">
 
 
5
  <change beforePath="$PROJECT_DIR$/segmenter_model/utils.py" beforeDir="false" afterPath="$PROJECT_DIR$/segmenter_model/utils.py" afterDir="false" />
6
  </list>
7
  <option name="SHOW_DIALOG" value="false" />
50
  <option name="number" value="Default" />
51
  <option name="presentableId" value="Default" />
52
  <updated>1647350746642</updated>
53
+ <workItem from="1647350750956" duration="9023000" />
54
  </task>
55
  <task id="LOCAL-00001" summary="Initial commit.">
56
  <created>1647352693910</created>
262
  <option name="project" value="LOCAL" />
263
  <updated>1647359586436</updated>
264
  </task>
265
+ <task id="LOCAL-00031" summary="Initial commit.">
266
+ <created>1647359713779</created>
267
+ <option name="number" value="00031" />
268
+ <option name="presentableId" value="LOCAL-00031" />
269
+ <option name="project" value="LOCAL" />
270
+ <updated>1647359713779</updated>
271
+ </task>
272
+ <task id="LOCAL-00032" summary="Initial commit.">
273
+ <created>1647359728070</created>
274
+ <option name="number" value="00032" />
275
+ <option name="presentableId" value="LOCAL-00032" />
276
+ <option name="project" value="LOCAL" />
277
+ <updated>1647359728070</updated>
278
+ </task>
279
+ <option name="localTasksCounter" value="33" />
280
  <servers />
281
  </component>
282
  <component name="TypeScriptGeneratedFilesManager">
segmenter_model/utils.py CHANGED
@@ -102,7 +102,7 @@ def get_colors(num_colors):
102
  return colors[:num_colors]
103
 
104
 
105
- def colorize_one(seg, ignore=None, colors=None, ncolors=32):
106
  unq = np.unique(seg)
107
  if ncolors is not None:
108
  ncolors = max(ncolors, max(unq))
102
  return colors[:num_colors]
103
 
104
 
105
+ def colorize_one(seg, ignore=255, colors=None, ncolors=32):
106
  unq = np.unique(seg)
107
  if ncolors is not None:
108
  ncolors = max(ncolors, max(unq))