vobecant
commited on
Commit
•
8f3efc0
1
Parent(s):
dc73bbd
Initial commit.
Browse files- .idea/workspace.xml +10 -3
- app.py +1 -1
.idea/workspace.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
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$/
|
6 |
</list>
|
7 |
<option name="SHOW_DIALOG" value="false" />
|
8 |
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
@@ -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="
|
54 |
</task>
|
55 |
<task id="LOCAL-00001" summary="Initial commit.">
|
56 |
<created>1647352693910</created>
|
@@ -276,7 +276,14 @@
|
|
276 |
<option name="project" value="LOCAL" />
|
277 |
<updated>1647359728070</updated>
|
278 |
</task>
|
279 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
280 |
<servers />
|
281 |
</component>
|
282 |
<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$/app.py" beforeDir="false" afterPath="$PROJECT_DIR$/app.py" afterDir="false" />
|
6 |
</list>
|
7 |
<option name="SHOW_DIALOG" value="false" />
|
8 |
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
|
50 |
<option name="number" value="Default" />
|
51 |
<option name="presentableId" value="Default" />
|
52 |
<updated>1647350746642</updated>
|
53 |
+
<workItem from="1647350750956" duration="9177000" />
|
54 |
</task>
|
55 |
<task id="LOCAL-00001" summary="Initial commit.">
|
56 |
<created>1647352693910</created>
|
|
|
276 |
<option name="project" value="LOCAL" />
|
277 |
<updated>1647359728070</updated>
|
278 |
</task>
|
279 |
+
<task id="LOCAL-00033" summary="Initial commit.">
|
280 |
+
<created>1647360031763</created>
|
281 |
+
<option name="number" value="00033" />
|
282 |
+
<option name="presentableId" value="LOCAL-00033" />
|
283 |
+
<option name="project" value="LOCAL" />
|
284 |
+
<updated>1647360031763</updated>
|
285 |
+
</task>
|
286 |
+
<option name="localTasksCounter" value="34" />
|
287 |
<servers />
|
288 |
</component>
|
289 |
<component name="TypeScriptGeneratedFilesManager">
|
app.py
CHANGED
@@ -56,7 +56,7 @@ def download_weights():
|
|
56 |
|
57 |
|
58 |
def segment_segmenter(image, model, window_size, window_stride, encoder_features=False, decoder_features=False,
|
59 |
-
no_upsample=False, batch_size=
|
60 |
seg_pred = utils.inference(
|
61 |
model,
|
62 |
image,
|
|
|
56 |
|
57 |
|
58 |
def segment_segmenter(image, model, window_size, window_stride, encoder_features=False, decoder_features=False,
|
59 |
+
no_upsample=False, batch_size=1):
|
60 |
seg_pred = utils.inference(
|
61 |
model,
|
62 |
image,
|