supervisely 6.73.391__py3-none-any.whl → 6.73.393__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/widgets/experiment_selector/experiment_selector.py +4 -3
- supervisely/nn/experiments.py +4 -4
- supervisely/nn/training/gui/gui.py +2 -0
- supervisely/template/experiment/experiment.html.jinja +1 -1
- {supervisely-6.73.391.dist-info → supervisely-6.73.393.dist-info}/METADATA +1 -1
- {supervisely-6.73.391.dist-info → supervisely-6.73.393.dist-info}/RECORD +10 -10
- {supervisely-6.73.391.dist-info → supervisely-6.73.393.dist-info}/LICENSE +0 -0
- {supervisely-6.73.391.dist-info → supervisely-6.73.393.dist-info}/WHEEL +0 -0
- {supervisely-6.73.391.dist-info → supervisely-6.73.393.dist-info}/entry_points.txt +0 -0
- {supervisely-6.73.391.dist-info → supervisely-6.73.393.dist-info}/top_level.txt +0 -0
|
@@ -142,7 +142,7 @@ class ExperimentSelector(Widget):
|
|
|
142
142
|
@property
|
|
143
143
|
def checkpoints_selector(self) -> Select:
|
|
144
144
|
return self._checkpoints_widget
|
|
145
|
-
|
|
145
|
+
|
|
146
146
|
@property
|
|
147
147
|
def experiment_info(self) -> ExperimentInfo:
|
|
148
148
|
return self._experiment_info
|
|
@@ -467,7 +467,7 @@ class ExperimentSelector(Widget):
|
|
|
467
467
|
return
|
|
468
468
|
selected_row = self.get_selected_row()
|
|
469
469
|
return selected_row.get_selected_checkpoint_path()
|
|
470
|
-
|
|
470
|
+
|
|
471
471
|
def get_selected_checkpoint_name(self) -> str:
|
|
472
472
|
if len(self._rows) == 0:
|
|
473
473
|
return
|
|
@@ -502,9 +502,9 @@ class ExperimentSelector(Widget):
|
|
|
502
502
|
def set_active_row(self, row_index: int, task_type: str = None) -> None:
|
|
503
503
|
if task_type is None:
|
|
504
504
|
task_type = self.get_selected_task_type()
|
|
505
|
+
self.set_active_task_type(task_type)
|
|
505
506
|
if row_index < 0 or row_index > len(self._rows[task_type]) - 1:
|
|
506
507
|
raise ValueError(f'Row with index "{row_index}" does not exist')
|
|
507
|
-
self.set_active_task_type(task_type)
|
|
508
508
|
StateJson()[self.widget_id]["selectedRow"] = row_index
|
|
509
509
|
StateJson().send_changes()
|
|
510
510
|
|
|
@@ -512,6 +512,7 @@ class ExperimentSelector(Widget):
|
|
|
512
512
|
for task_type in self._rows:
|
|
513
513
|
for i, row in enumerate(self._rows[task_type]):
|
|
514
514
|
if row.task_id == task_id:
|
|
515
|
+
self.set_active_task_type(task_type)
|
|
515
516
|
self.set_active_row(i, task_type)
|
|
516
517
|
return
|
|
517
518
|
|
supervisely/nn/experiments.py
CHANGED
|
@@ -20,10 +20,6 @@ class ExperimentInfo:
|
|
|
20
20
|
"""Name of the framework used in the experiment"""
|
|
21
21
|
model_name: str
|
|
22
22
|
"""Name of the model used in the experiment. Defined by the user in the training app"""
|
|
23
|
-
base_checkpoint: str
|
|
24
|
-
"""Name of the base checkpoint used for training"""
|
|
25
|
-
base_checkpoint_link: str
|
|
26
|
-
"""Link to the base checkpoint used for training. URL in case of pretrained model, or Team Files path in case of custom model."""
|
|
27
23
|
task_type: str
|
|
28
24
|
"""Task type of the experiment"""
|
|
29
25
|
project_id: int
|
|
@@ -42,6 +38,10 @@ class ExperimentInfo:
|
|
|
42
38
|
"""Path to .yaml file with hyperparameters used in the experiment"""
|
|
43
39
|
artifacts_dir: str
|
|
44
40
|
"""Path to the directory with artifacts"""
|
|
41
|
+
base_checkpoint: Optional[str] = None
|
|
42
|
+
"""Name of the base checkpoint used for training"""
|
|
43
|
+
base_checkpoint_link: Optional[str] = None
|
|
44
|
+
"""Link to the base checkpoint used for training. URL in case of pretrained model, or Team Files path in case of custom model."""
|
|
45
45
|
export: Optional[dict] = None
|
|
46
46
|
"""Dictionary with exported weights in different formats"""
|
|
47
47
|
app_state: Optional[str] = None
|
|
@@ -577,6 +577,8 @@ class TrainGUI:
|
|
|
577
577
|
|
|
578
578
|
# Run from experiment page
|
|
579
579
|
train_task_id = getenv("modal.state.trainTaskId", None)
|
|
580
|
+
if train_task_id is not None:
|
|
581
|
+
train_task_id = int(train_task_id)
|
|
580
582
|
train_mode = getenv("modal.state.trainMode", None)
|
|
581
583
|
if train_task_id is not None and train_mode is not None:
|
|
582
584
|
self._run_from_experiment(train_task_id, train_mode)
|
|
@@ -424,7 +424,7 @@ This approach helps you to quickly set up the environment and run inference with
|
|
|
424
424
|
)
|
|
425
425
|
```
|
|
426
426
|
|
|
427
|
-
> For more information, see [Local Deployment](https://docs.supervisely.com/neural-networks/overview-1/
|
|
427
|
+
> For more information, see [Local Deployment](https://docs.supervisely.com/neural-networks/overview-1/deploy_and_predict_with_supervisely_sdk){:target="_blank"} and [Prediction API](https://docs.supervisely.com/neural-networks/overview-1/prediction-api){:target="_blank"} documentations.
|
|
428
428
|
|
|
429
429
|
{% if experiment.training.checkpoints.onnx.name or experiment.training.checkpoints.tensorrt.name %}
|
|
430
430
|
### Deploy ONNX/TensorRT
|
|
@@ -255,7 +255,7 @@ supervisely/app/widgets/empty/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5N
|
|
|
255
255
|
supervisely/app/widgets/empty/empty.py,sha256=fCr8I7CQ2XLo59bl2txjDrblOGiu0TzUcM-Pq6s7gKY,1285
|
|
256
256
|
supervisely/app/widgets/empty/template.html,sha256=aDBKkin5aLuqByzNN517-rTYCGIg5SPKgnysYMPYjv8,40
|
|
257
257
|
supervisely/app/widgets/experiment_selector/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
258
|
-
supervisely/app/widgets/experiment_selector/experiment_selector.py,sha256=
|
|
258
|
+
supervisely/app/widgets/experiment_selector/experiment_selector.py,sha256=ObaB4JGJv61-4eJu0iRAcdwnBzHLTqyhrSlxQITPnTY,20608
|
|
259
259
|
supervisely/app/widgets/experiment_selector/style.css,sha256=-zPPXHnJvatYj_xVVAb7T8uoSsUTyhm5xCKWkkFQ78E,548
|
|
260
260
|
supervisely/app/widgets/experiment_selector/template.html,sha256=bYNGb77q8WwRFtkhJM9_I0UzPW0kTTIOvZZmzuHLXmY,2753
|
|
261
261
|
supervisely/app/widgets/fast_table/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -747,7 +747,7 @@ supervisely/metric/pixel_accuracy.py,sha256=qjtxInOTkGDwPeLUnjBdzOrVRT3V6kGGOWjB
|
|
|
747
747
|
supervisely/metric/precision_recall_metric.py,sha256=4AQCkcB84mpYQS94yJ-wkG1LBuXlQf3X_tI9f67vtR8,3426
|
|
748
748
|
supervisely/metric/projects_applier.py,sha256=ORtgLQHYtNi4KYsSGaGPPWiZPexTJF9IWqX_RuLRxPk,3415
|
|
749
749
|
supervisely/nn/__init__.py,sha256=ZGCDjx_cGIW8CxIWNCzVDRVfAzt7QzlkcvKvLBE8wMc,669
|
|
750
|
-
supervisely/nn/experiments.py,sha256=
|
|
750
|
+
supervisely/nn/experiments.py,sha256=JYasM5QPtiQ0zVl1ufySr237QTddy37Ty7Y7aXlemXU,10014
|
|
751
751
|
supervisely/nn/prediction_dto.py,sha256=oi146DJpUUBDbR-b-vYkL5WAhCZQYOGomqBDEQGbPdY,2700
|
|
752
752
|
supervisely/nn/task_type.py,sha256=UJvSJ4L3I08j_e6sU6Ptu7kS5p1H09rfhfoDUSZ2iys,522
|
|
753
753
|
supervisely/nn/utils.py,sha256=WoEidpLo5__R6eXsvEFH7VRxb4MtXCr9H-kchg25FDY,2965
|
|
@@ -1002,7 +1002,7 @@ supervisely/nn/training/__init__.py,sha256=gY4PCykJ-42MWKsqb9kl-skemKa8yB6t_fb5k
|
|
|
1002
1002
|
supervisely/nn/training/train_app.py,sha256=0tE1noQGvfV7oWFPadL1D87wjuHEWnBtOax4Z7p5RUI,123660
|
|
1003
1003
|
supervisely/nn/training/gui/__init__.py,sha256=Nqnn8clbgv-5l0PgxcTOldg8mkMKrFn4TvPL-rYUUGg,1
|
|
1004
1004
|
supervisely/nn/training/gui/classes_selector.py,sha256=tqmVwUfC2u5K53mZmvDvNOhu9Mw5mddjpB2kxRXXUO8,12453
|
|
1005
|
-
supervisely/nn/training/gui/gui.py,sha256=
|
|
1005
|
+
supervisely/nn/training/gui/gui.py,sha256=YKhcTZrzhRDToY79L3QbgiWfx9P8GUcKkiBXw_GDgeQ,49215
|
|
1006
1006
|
supervisely/nn/training/gui/hyperparameters_selector.py,sha256=bcCxJ9-8NjZa0U9XWHysrMzr8dxqXiqUgX5lbDiAm5A,7767
|
|
1007
1007
|
supervisely/nn/training/gui/input_selector.py,sha256=rmirJzpdxuYONI6y5_cvMdGWBJ--T20YTsISghATHu4,2510
|
|
1008
1008
|
supervisely/nn/training/gui/model_selector.py,sha256=Fvsja7n75PzqxDkDhPEkCltYsbAPPRpUxgWgIZCseks,7439
|
|
@@ -1065,7 +1065,7 @@ supervisely/template/base_generator.py,sha256=3nesbfRpueyRYljQSTnkMjeC8ERTOfjI88
|
|
|
1065
1065
|
supervisely/template/extensions.py,sha256=kTYxu_LrvFyUN3HByCebGq8ra7zUygcEyw4qTUHq3M4,5255
|
|
1066
1066
|
supervisely/template/template_renderer.py,sha256=SzGxRdbP59uxqcZT8kZbaHN2epK8Vjfh-0jKBpkdCBY,9709
|
|
1067
1067
|
supervisely/template/experiment/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1068
|
-
supervisely/template/experiment/experiment.html.jinja,sha256=
|
|
1068
|
+
supervisely/template/experiment/experiment.html.jinja,sha256=ZzC98kZ3MajurD7vf5nTIR09vvzoZ9geh5WKZRO1cOg,17618
|
|
1069
1069
|
supervisely/template/experiment/experiment_generator.py,sha256=PNW8lqEOH4YOsA9MdkppbJxNvuzEdtpXx9kvfbNoCbM,37389
|
|
1070
1070
|
supervisely/template/experiment/header.html.jinja,sha256=vm0XfXoMBU6nvHPrhX9k4OkkKkmu69OJFGWYvsRTrcs,12801
|
|
1071
1071
|
supervisely/template/experiment/sidebar.html.jinja,sha256=4IxuJzcU1OT93mXMixE7EAMYfcn_lOVfCjS3VkEieSk,9323
|
|
@@ -1114,9 +1114,9 @@ supervisely/worker_proto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
|
|
|
1114
1114
|
supervisely/worker_proto/worker_api_pb2.py,sha256=VQfi5JRBHs2pFCK1snec3JECgGnua3Xjqw_-b3aFxuM,59142
|
|
1115
1115
|
supervisely/worker_proto/worker_api_pb2_grpc.py,sha256=3BwQXOaP9qpdi0Dt9EKG--Lm8KGN0C5AgmUfRv77_Jk,28940
|
|
1116
1116
|
supervisely_lib/__init__.py,sha256=7-3QnN8Zf0wj8NCr2oJmqoQWMKKPKTECvjH9pd2S5vY,159
|
|
1117
|
-
supervisely-6.73.
|
|
1118
|
-
supervisely-6.73.
|
|
1119
|
-
supervisely-6.73.
|
|
1120
|
-
supervisely-6.73.
|
|
1121
|
-
supervisely-6.73.
|
|
1122
|
-
supervisely-6.73.
|
|
1117
|
+
supervisely-6.73.393.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
1118
|
+
supervisely-6.73.393.dist-info/METADATA,sha256=Ne2FExWoWEBKR4Ql9G7zglFJ2stNIVWhG7AIZfP3QGw,35254
|
|
1119
|
+
supervisely-6.73.393.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
|
1120
|
+
supervisely-6.73.393.dist-info/entry_points.txt,sha256=U96-5Hxrp2ApRjnCoUiUhWMqijqh8zLR03sEhWtAcms,102
|
|
1121
|
+
supervisely-6.73.393.dist-info/top_level.txt,sha256=kcFVwb7SXtfqZifrZaSE3owHExX4gcNYe7Q2uoby084,28
|
|
1122
|
+
supervisely-6.73.393.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|