supervisely 6.73.429__py3-none-any.whl → 6.73.431__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- supervisely/app/fastapi/templating.py +1 -1
- supervisely/app/widgets/ecosystem_model_selector/ecosystem_model_selector.py +10 -5
- supervisely/template/experiment/experiment.html.jinja +6 -6
- supervisely/versions.json +2 -1
- {supervisely-6.73.429.dist-info → supervisely-6.73.431.dist-info}/METADATA +1 -1
- {supervisely-6.73.429.dist-info → supervisely-6.73.431.dist-info}/RECORD +10 -10
- {supervisely-6.73.429.dist-info → supervisely-6.73.431.dist-info}/LICENSE +0 -0
- {supervisely-6.73.429.dist-info → supervisely-6.73.431.dist-info}/WHEEL +0 -0
- {supervisely-6.73.429.dist-info → supervisely-6.73.431.dist-info}/entry_points.txt +0 -0
- {supervisely-6.73.429.dist-info → supervisely-6.73.431.dist-info}/top_level.txt +0 -0
|
@@ -11,7 +11,7 @@ from supervisely.app.singleton import Singleton
|
|
|
11
11
|
from supervisely.app.widgets_context import JinjaWidgets
|
|
12
12
|
|
|
13
13
|
# https://github.com/supervisely/js-bundle
|
|
14
|
-
js_bundle_version = "2.
|
|
14
|
+
js_bundle_version = "2.2.2"
|
|
15
15
|
|
|
16
16
|
# https://github.com/supervisely-ecosystem/supervisely-app-frontend-js
|
|
17
17
|
js_frontend_version = "v0.0.56"
|
|
@@ -48,13 +48,17 @@ class EcosystemModelSelector(Widget):
|
|
|
48
48
|
|
|
49
49
|
@self.framework_filter.value_changed
|
|
50
50
|
def _framework_filter_changed(frameworks: List[DropdownCheckboxSelector.Item]):
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
self.frameworks = [f.id for f in frameworks] if frameworks else None
|
|
52
|
+
task_types = [t.id for t in self.task_filter.get_selected()]
|
|
53
|
+
self.task_types = task_types if task_types else None
|
|
54
|
+
self.table.filter((self.frameworks, self.task_types))
|
|
53
55
|
|
|
54
56
|
@self.task_filter.value_changed
|
|
55
57
|
def _task_filter_changed(task_types: List[DropdownCheckboxSelector.Item]):
|
|
56
|
-
|
|
57
|
-
|
|
58
|
+
self.task_types = [t.id for t in task_types] if task_types else None
|
|
59
|
+
frameworks = [f.id for f in self.framework_filter.get_selected()]
|
|
60
|
+
self.frameworks = frameworks if frameworks else None
|
|
61
|
+
self.table.filter((self.frameworks, self.task_types))
|
|
58
62
|
|
|
59
63
|
super().__init__(widget_id=widget_id, file_path=__file__)
|
|
60
64
|
|
|
@@ -148,7 +152,8 @@ class EcosystemModelSelector(Widget):
|
|
|
148
152
|
|
|
149
153
|
def get_selected(self):
|
|
150
154
|
idx = self.table.get_selected_row().row_index
|
|
151
|
-
|
|
155
|
+
models = self._filter_models(self.models, self.frameworks, self.task_types)
|
|
156
|
+
return models[idx]
|
|
152
157
|
|
|
153
158
|
def select(self, index: int):
|
|
154
159
|
self.table.select_row(index)
|
|
@@ -248,7 +248,7 @@ model = api.nn.deploy(
|
|
|
248
248
|
{% endtabs %}
|
|
249
249
|
|
|
250
250
|
> For more information, see [Model
|
|
251
|
-
API](https://docs.supervisely.com/neural-networks/
|
|
251
|
+
API](https://docs.supervisely.com/neural-networks/inference-and-deployment/model-api){:target="_blank"}
|
|
252
252
|
documentation.
|
|
253
253
|
|
|
254
254
|
### Predict via API
|
|
@@ -316,7 +316,7 @@ predictions = model.predict(
|
|
|
316
316
|
{% endtabs %}
|
|
317
317
|
|
|
318
318
|
> For more information, see [Prediction
|
|
319
|
-
API](https://docs.supervisely.com/neural-networks/
|
|
319
|
+
API](https://docs.supervisely.com/neural-networks/inference-and-deployment/prediction-api){:target="_blank"}.
|
|
320
320
|
|
|
321
321
|
{% if experiment.model.task_type == "object detection" %}
|
|
322
322
|
|
|
@@ -356,7 +356,7 @@ for pred in predictions:
|
|
|
356
356
|
print(f"Frame {frame_index}: {len(track_ids)} tracks")
|
|
357
357
|
```
|
|
358
358
|
|
|
359
|
-
> You can also apply trackers in your own code or applications. Read more about this in the docs [Video Object Tracking](https://docs.supervisely.com/neural-networks/
|
|
359
|
+
> You can also apply trackers in your own code or applications. Read more about this in the docs [Video Object Tracking](https://docs.supervisely.com/neural-networks/inference-and-deployment/video-object-tracking){:target="_blank"}.
|
|
360
360
|
|
|
361
361
|
{% endif %}
|
|
362
362
|
|
|
@@ -402,7 +402,7 @@ docker image for the corresponding model's framework, and run the `docker run` c
|
|
|
402
402
|
)
|
|
403
403
|
```
|
|
404
404
|
|
|
405
|
-
See the [Model API](https://docs.supervisely.com/neural-networks/
|
|
405
|
+
See the [Model API](https://docs.supervisely.com/neural-networks/inference-and-deployment/model-api){:target="_blank"} documentation for more details on how to use the `ModelAPI` class.
|
|
406
406
|
|
|
407
407
|
Alternatively, you can use `docker run` with the `predict` action to make predictions in a single command. This is a
|
|
408
408
|
quick way to start inference on your local images, videos, or directories without deploying the model. The container will be automatically stopped after the predictions are made.
|
|
@@ -420,7 +420,7 @@ docker run \
|
|
|
420
420
|
```
|
|
421
421
|
|
|
422
422
|
> For more information, see [Deploy in Docker
|
|
423
|
-
Container](https://docs.supervisely.com/neural-networks/
|
|
423
|
+
Container](https://docs.supervisely.com/neural-networks/inference-and-deployment/deploy_and_predict_with_supervisely_sdk#deploy-in-docker-container){:target="_blank"}
|
|
424
424
|
documentation.
|
|
425
425
|
|
|
426
426
|
## Deploy locally with Supervisely SDK
|
|
@@ -465,7 +465,7 @@ This approach helps you to quickly set up the environment and run inference with
|
|
|
465
465
|
)
|
|
466
466
|
```
|
|
467
467
|
|
|
468
|
-
> For more information, see [Local Deployment](https://docs.supervisely.com/neural-networks/
|
|
468
|
+
> For more information, see [Local Deployment](https://docs.supervisely.com/neural-networks/inference-and-deployment/deploy_and_predict_with_supervisely_sdk){:target="_blank"} and [Prediction API](https://docs.supervisely.com/neural-networks/inference-and-deployment/prediction-api){:target="_blank"} documentations.
|
|
469
469
|
|
|
470
470
|
{% if experiment.training.checkpoints.onnx.name or experiment.training.checkpoints.tensorrt.name %}
|
|
471
471
|
### Deploy ONNX/TensorRT
|
supervisely/versions.json
CHANGED
|
@@ -4,7 +4,7 @@ supervisely/_utils.py,sha256=59vOeNOnmVHODnlAvULT8jdwvHHVTs2FOtAFw8mvaqE,20643
|
|
|
4
4
|
supervisely/function_wrapper.py,sha256=R5YajTQ0GnRp2vtjwfC9hINkzQc0JiyGsu8TER373xY,1912
|
|
5
5
|
supervisely/sly_logger.py,sha256=z92Vu5hmC0GgTIJO1n6kPDayRW9__8ix8hL6poDZj-Y,6274
|
|
6
6
|
supervisely/tiny_timer.py,sha256=hkpe_7FE6bsKL79blSs7WBaktuPavEVu67IpEPrfmjE,183
|
|
7
|
-
supervisely/versions.json,sha256=
|
|
7
|
+
supervisely/versions.json,sha256=Cppk4ndoCkIEclgQwVKzJjFQjahjOPpVuoo4LrM9eTE,585
|
|
8
8
|
supervisely/annotation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
supervisely/annotation/annotation.py,sha256=th4gsIU-LNGcMRohHrtupmjxDwdzx1g4_0xIAa6NyJU,114717
|
|
10
10
|
supervisely/annotation/annotation_transforms.py,sha256=TlVy_gUbM-XH6GbLpZPrAi6pMIGTr7Ow02iSKOSTa-I,9582
|
|
@@ -101,7 +101,7 @@ supervisely/app/fastapi/no_html_main.html,sha256=NhQP7noyORBx72lFh1CQKgBRupkWjiq
|
|
|
101
101
|
supervisely/app/fastapi/offline.py,sha256=CwMMkJ1frD6wiZS-SEoNDtQ1UJcJe1Ob6ohE3r4CQL8,7414
|
|
102
102
|
supervisely/app/fastapi/request.py,sha256=NU7rKmxJ1pfkDZ7_yHckRcRAueJRQIqCor11UO2OHr8,766
|
|
103
103
|
supervisely/app/fastapi/subapp.py,sha256=GxMeYMy7lCkef8R_61F2XqxKjJjtyAk7CNDSCIc07ZY,50127
|
|
104
|
-
supervisely/app/fastapi/templating.py,sha256=
|
|
104
|
+
supervisely/app/fastapi/templating.py,sha256=etFkNJKvoWsHrHpmgDUuybZXcLuzS1IBRxvPnZlT9K8,2928
|
|
105
105
|
supervisely/app/fastapi/utils.py,sha256=t_UquzlFrdkKtAJmH6eJ279pE8Aa3BaIu4XjX-SEaIE,946
|
|
106
106
|
supervisely/app/fastapi/websocket.py,sha256=TlRSPOAhRItTv1HGvdukK1ZvhRjMUxRa-lJlsRR9rJw,1308
|
|
107
107
|
supervisely/app/v1/__init__.py,sha256=OdU0PYv6hLwahYoyaLFO8m3cbJSchvPbqxuG1N3T734,848
|
|
@@ -246,7 +246,7 @@ supervisely/app/widgets/dropdown_checkbox_selector/__init__.py,sha256=47DEQpj8HB
|
|
|
246
246
|
supervisely/app/widgets/dropdown_checkbox_selector/dropdown_checkbox_selector.py,sha256=Xu-7ktelagX7ACdqd-VfUaGPjHsAErl7HRs4Xexvo9Q,2554
|
|
247
247
|
supervisely/app/widgets/dropdown_checkbox_selector/template.html,sha256=nPHWIGHQroR7_DQdzYY6ErxzLsW1Lpmt7aayJmVaGXg,521
|
|
248
248
|
supervisely/app/widgets/ecosystem_model_selector/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
249
|
-
supervisely/app/widgets/ecosystem_model_selector/ecosystem_model_selector.py,sha256=
|
|
249
|
+
supervisely/app/widgets/ecosystem_model_selector/ecosystem_model_selector.py,sha256=J9SJjY1Lcsc64hMLNM5SFgljpK3qYPwxVbTsYEEZRNo,7382
|
|
250
250
|
supervisely/app/widgets/editor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
251
251
|
supervisely/app/widgets/editor/editor.py,sha256=jhuB4xPmq9f3z4cB_5DrXDjgPdzXkf3xWN8wJwstj8o,7662
|
|
252
252
|
supervisely/app/widgets/editor/template.html,sha256=8byDuuqtsaxAHImqFI0Jv7-6O63Gxu0IfccLL9zFdVA,282
|
|
@@ -1078,7 +1078,7 @@ supervisely/template/base_generator.py,sha256=3nesbfRpueyRYljQSTnkMjeC8ERTOfjI88
|
|
|
1078
1078
|
supervisely/template/extensions.py,sha256=kTYxu_LrvFyUN3HByCebGq8ra7zUygcEyw4qTUHq3M4,5255
|
|
1079
1079
|
supervisely/template/template_renderer.py,sha256=SzGxRdbP59uxqcZT8kZbaHN2epK8Vjfh-0jKBpkdCBY,9709
|
|
1080
1080
|
supervisely/template/experiment/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1081
|
-
supervisely/template/experiment/experiment.html.jinja,sha256=
|
|
1081
|
+
supervisely/template/experiment/experiment.html.jinja,sha256=DiprWy6YAE1Gg7fBinZMxEpXSHCbJLbkTZLNKYTUhdw,19045
|
|
1082
1082
|
supervisely/template/experiment/experiment_generator.py,sha256=b0zqP_dt3bvXxjZx6DxTog2-ih-Q7pj4w_5c70WEfjU,44924
|
|
1083
1083
|
supervisely/template/experiment/header.html.jinja,sha256=sWGWeoYeixdLUOnQDjzrfGI8K6vL93dOt7fAgNWqkvY,13751
|
|
1084
1084
|
supervisely/template/experiment/sidebar.html.jinja,sha256=4IxuJzcU1OT93mXMixE7EAMYfcn_lOVfCjS3VkEieSk,9323
|
|
@@ -1127,9 +1127,9 @@ supervisely/worker_proto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
|
|
|
1127
1127
|
supervisely/worker_proto/worker_api_pb2.py,sha256=VQfi5JRBHs2pFCK1snec3JECgGnua3Xjqw_-b3aFxuM,59142
|
|
1128
1128
|
supervisely/worker_proto/worker_api_pb2_grpc.py,sha256=3BwQXOaP9qpdi0Dt9EKG--Lm8KGN0C5AgmUfRv77_Jk,28940
|
|
1129
1129
|
supervisely_lib/__init__.py,sha256=7-3QnN8Zf0wj8NCr2oJmqoQWMKKPKTECvjH9pd2S5vY,159
|
|
1130
|
-
supervisely-6.73.
|
|
1131
|
-
supervisely-6.73.
|
|
1132
|
-
supervisely-6.73.
|
|
1133
|
-
supervisely-6.73.
|
|
1134
|
-
supervisely-6.73.
|
|
1135
|
-
supervisely-6.73.
|
|
1130
|
+
supervisely-6.73.431.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
1131
|
+
supervisely-6.73.431.dist-info/METADATA,sha256=Tdduz5-kfqxj39qOe4tcX_-58Hp904M_Ja2X3M6G_LA,35433
|
|
1132
|
+
supervisely-6.73.431.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
|
1133
|
+
supervisely-6.73.431.dist-info/entry_points.txt,sha256=U96-5Hxrp2ApRjnCoUiUhWMqijqh8zLR03sEhWtAcms,102
|
|
1134
|
+
supervisely-6.73.431.dist-info/top_level.txt,sha256=kcFVwb7SXtfqZifrZaSE3owHExX4gcNYe7Q2uoby084,28
|
|
1135
|
+
supervisely-6.73.431.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|