supervisely 6.1.37__tar.gz
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-6.1.37/PKG-INFO +166 -0
- supervisely-6.1.37/README.md +157 -0
- supervisely-6.1.37/setup.cfg +4 -0
- supervisely-6.1.37/setup.py +52 -0
- supervisely-6.1.37/supervisely.egg-info/PKG-INFO +166 -0
- supervisely-6.1.37/supervisely.egg-info/SOURCES.txt +222 -0
- supervisely-6.1.37/supervisely.egg-info/dependency_links.txt +1 -0
- supervisely-6.1.37/supervisely.egg-info/requires.txt +23 -0
- supervisely-6.1.37/supervisely.egg-info/top_level.txt +1 -0
- supervisely-6.1.37/supervisely_lib/__init__.py +103 -0
- supervisely-6.1.37/supervisely_lib/_utils.py +111 -0
- supervisely-6.1.37/supervisely_lib/annotation/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/annotation/annotation.py +578 -0
- supervisely-6.1.37/supervisely_lib/annotation/annotation_transforms.py +224 -0
- supervisely-6.1.37/supervisely_lib/annotation/json_geometries_map.py +26 -0
- supervisely-6.1.37/supervisely_lib/annotation/label.py +294 -0
- supervisely-6.1.37/supervisely_lib/annotation/obj_class.py +174 -0
- supervisely-6.1.37/supervisely_lib/annotation/obj_class_collection.py +75 -0
- supervisely-6.1.37/supervisely_lib/annotation/obj_class_mapper.py +26 -0
- supervisely-6.1.37/supervisely_lib/annotation/renamer.py +54 -0
- supervisely-6.1.37/supervisely_lib/annotation/tag.py +149 -0
- supervisely-6.1.37/supervisely_lib/annotation/tag_collection.py +30 -0
- supervisely-6.1.37/supervisely_lib/annotation/tag_meta.py +245 -0
- supervisely-6.1.37/supervisely_lib/annotation/tag_meta_collection.py +45 -0
- supervisely-6.1.37/supervisely_lib/annotation/tag_meta_mapper.py +42 -0
- supervisely-6.1.37/supervisely_lib/api/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/api/advanced_api.py +22 -0
- supervisely-6.1.37/supervisely_lib/api/agent_api.py +64 -0
- supervisely-6.1.37/supervisely_lib/api/annotation_api.py +145 -0
- supervisely-6.1.37/supervisely_lib/api/api.py +252 -0
- supervisely-6.1.37/supervisely_lib/api/app_api.py +92 -0
- supervisely-6.1.37/supervisely_lib/api/dataset_api.py +161 -0
- supervisely-6.1.37/supervisely_lib/api/entity_annotation/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/api/entity_annotation/entity_annotation_api.py +53 -0
- supervisely-6.1.37/supervisely_lib/api/entity_annotation/figure_api.py +76 -0
- supervisely-6.1.37/supervisely_lib/api/entity_annotation/object_api.py +56 -0
- supervisely-6.1.37/supervisely_lib/api/entity_annotation/tag_api.py +98 -0
- supervisely-6.1.37/supervisely_lib/api/file_api.py +170 -0
- supervisely-6.1.37/supervisely_lib/api/image_annotation_tool_api.py +66 -0
- supervisely-6.1.37/supervisely_lib/api/image_api.py +645 -0
- supervisely-6.1.37/supervisely_lib/api/import_storage_api.py +12 -0
- supervisely-6.1.37/supervisely_lib/api/labeling_job_api.py +300 -0
- supervisely-6.1.37/supervisely_lib/api/module_api.py +460 -0
- supervisely-6.1.37/supervisely_lib/api/neural_network_api.py +166 -0
- supervisely-6.1.37/supervisely_lib/api/object_class_api.py +70 -0
- supervisely-6.1.37/supervisely_lib/api/plugin_api.py +40 -0
- supervisely-6.1.37/supervisely_lib/api/pointcloud/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/api/pointcloud/pointcloud_annotation_api.py +35 -0
- supervisely-6.1.37/supervisely_lib/api/pointcloud/pointcloud_api.py +198 -0
- supervisely-6.1.37/supervisely_lib/api/pointcloud/pointcloud_figure_api.py +19 -0
- supervisely-6.1.37/supervisely_lib/api/pointcloud/pointcloud_object_api.py +11 -0
- supervisely-6.1.37/supervisely_lib/api/pointcloud/pointcloud_tag_api.py +10 -0
- supervisely-6.1.37/supervisely_lib/api/project_api.py +204 -0
- supervisely-6.1.37/supervisely_lib/api/project_class_api.py +30 -0
- supervisely-6.1.37/supervisely_lib/api/report_api.py +116 -0
- supervisely-6.1.37/supervisely_lib/api/role_api.py +30 -0
- supervisely-6.1.37/supervisely_lib/api/task_api.py +376 -0
- supervisely-6.1.37/supervisely_lib/api/team_api.py +151 -0
- supervisely-6.1.37/supervisely_lib/api/user_api.py +213 -0
- supervisely-6.1.37/supervisely_lib/api/video/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/api/video/video_annotation_api.py +44 -0
- supervisely-6.1.37/supervisely_lib/api/video/video_api.py +317 -0
- supervisely-6.1.37/supervisely_lib/api/video/video_figure_api.py +25 -0
- supervisely-6.1.37/supervisely_lib/api/video/video_frame_api.py +39 -0
- supervisely-6.1.37/supervisely_lib/api/video/video_object_api.py +11 -0
- supervisely-6.1.37/supervisely_lib/api/video/video_tag_api.py +9 -0
- supervisely-6.1.37/supervisely_lib/api/workspace_api.py +56 -0
- supervisely-6.1.37/supervisely_lib/app/__init__.py +16 -0
- supervisely-6.1.37/supervisely_lib/app/app_service.py +312 -0
- supervisely-6.1.37/supervisely_lib/app/constants.py +11 -0
- supervisely-6.1.37/supervisely_lib/app_widget/__init__.py +4 -0
- supervisely-6.1.37/supervisely_lib/app_widget/base_widget.py +16 -0
- supervisely-6.1.37/supervisely_lib/app_widget/button.py +24 -0
- supervisely-6.1.37/supervisely_lib/app_widget/gallery.py +30 -0
- supervisely-6.1.37/supervisely_lib/app_widget/input.py +38 -0
- supervisely-6.1.37/supervisely_lib/app_widget/widget_type.py +14 -0
- supervisely-6.1.37/supervisely_lib/aug/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/aug/aug.py +321 -0
- supervisely-6.1.37/supervisely_lib/collection/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/collection/key_indexed_collection.py +281 -0
- supervisely-6.1.37/supervisely_lib/collection/str_enum.py +52 -0
- supervisely-6.1.37/supervisely_lib/decorators/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/decorators/profile.py +16 -0
- supervisely-6.1.37/supervisely_lib/export/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/export/pascal_voc.py +81 -0
- supervisely-6.1.37/supervisely_lib/file_cache/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/file_cache/file_cache.py +26 -0
- supervisely-6.1.37/supervisely_lib/file_cache/fs_caches.py +205 -0
- supervisely-6.1.37/supervisely_lib/function_wrapper.py +59 -0
- supervisely-6.1.37/supervisely_lib/geometry/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/geometry/any_geometry.py +13 -0
- supervisely-6.1.37/supervisely_lib/geometry/bitmap.py +240 -0
- supervisely-6.1.37/supervisely_lib/geometry/bitmap_base.py +184 -0
- supervisely-6.1.37/supervisely_lib/geometry/constants.py +41 -0
- supervisely-6.1.37/supervisely_lib/geometry/conversions.py +29 -0
- supervisely-6.1.37/supervisely_lib/geometry/cuboid.py +245 -0
- supervisely-6.1.37/supervisely_lib/geometry/cuboid_3d.py +129 -0
- supervisely-6.1.37/supervisely_lib/geometry/geometry.py +208 -0
- supervisely-6.1.37/supervisely_lib/geometry/graph.py +321 -0
- supervisely-6.1.37/supervisely_lib/geometry/helpers.py +100 -0
- supervisely-6.1.37/supervisely_lib/geometry/image_rotator.py +121 -0
- supervisely-6.1.37/supervisely_lib/geometry/main_tests.py +662 -0
- supervisely-6.1.37/supervisely_lib/geometry/multichannel_bitmap.py +114 -0
- supervisely-6.1.37/supervisely_lib/geometry/point.py +157 -0
- supervisely-6.1.37/supervisely_lib/geometry/point_3d.py +48 -0
- supervisely-6.1.37/supervisely_lib/geometry/point_location.py +152 -0
- supervisely-6.1.37/supervisely_lib/geometry/pointcloud.py +38 -0
- supervisely-6.1.37/supervisely_lib/geometry/polygon.py +139 -0
- supervisely-6.1.37/supervisely_lib/geometry/polyline.py +110 -0
- supervisely-6.1.37/supervisely_lib/geometry/rectangle.py +297 -0
- supervisely-6.1.37/supervisely_lib/geometry/sliding_windows.py +35 -0
- supervisely-6.1.37/supervisely_lib/geometry/sliding_windows_fuzzy.py +62 -0
- supervisely-6.1.37/supervisely_lib/geometry/validation.py +60 -0
- supervisely-6.1.37/supervisely_lib/geometry/vector_geometry.py +166 -0
- supervisely-6.1.37/supervisely_lib/imaging/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/imaging/_video.py +40 -0
- supervisely-6.1.37/supervisely_lib/imaging/color.py +116 -0
- supervisely-6.1.37/supervisely_lib/imaging/font.py +79 -0
- supervisely-6.1.37/supervisely_lib/imaging/image.py +608 -0
- supervisely-6.1.37/supervisely_lib/io/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/io/docker_utils.py +51 -0
- supervisely-6.1.37/supervisely_lib/io/env.py +16 -0
- supervisely-6.1.37/supervisely_lib/io/fs.py +294 -0
- supervisely-6.1.37/supervisely_lib/io/github_utils.py +47 -0
- supervisely-6.1.37/supervisely_lib/io/json.py +56 -0
- supervisely-6.1.37/supervisely_lib/io/network_exceptions.py +85 -0
- supervisely-6.1.37/supervisely_lib/labeling_jobs/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/labeling_jobs/constants.py +8 -0
- supervisely-6.1.37/supervisely_lib/labeling_jobs/utils.py +367 -0
- supervisely-6.1.37/supervisely_lib/metric/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/metric/classification_metrics.py +121 -0
- supervisely-6.1.37/supervisely_lib/metric/common.py +70 -0
- supervisely-6.1.37/supervisely_lib/metric/confusion_matrix_metric.py +65 -0
- supervisely-6.1.37/supervisely_lib/metric/iou_metric.py +75 -0
- supervisely-6.1.37/supervisely_lib/metric/map_metric.py +116 -0
- supervisely-6.1.37/supervisely_lib/metric/matching.py +83 -0
- supervisely-6.1.37/supervisely_lib/metric/metric_base.py +15 -0
- supervisely-6.1.37/supervisely_lib/metric/metrics_tests.py +99 -0
- supervisely-6.1.37/supervisely_lib/metric/pixel_accuracy.py +57 -0
- supervisely-6.1.37/supervisely_lib/metric/precision_recall_metric.py +71 -0
- supervisely-6.1.37/supervisely_lib/metric/projects_applier.py +71 -0
- supervisely-6.1.37/supervisely_lib/nn/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/nn/config.py +87 -0
- supervisely-6.1.37/supervisely_lib/nn/dataset.py +153 -0
- supervisely-6.1.37/supervisely_lib/nn/hosted/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/nn/hosted/class_indexing.py +133 -0
- supervisely-6.1.37/supervisely_lib/nn/hosted/constants.py +8 -0
- supervisely-6.1.37/supervisely_lib/nn/hosted/deploy.py +54 -0
- supervisely-6.1.37/supervisely_lib/nn/hosted/inference_batch.py +68 -0
- supervisely-6.1.37/supervisely_lib/nn/hosted/inference_batch_multiprocess.py +152 -0
- supervisely-6.1.37/supervisely_lib/nn/hosted/inference_modes.py +591 -0
- supervisely-6.1.37/supervisely_lib/nn/hosted/inference_single_image.py +106 -0
- supervisely-6.1.37/supervisely_lib/nn/hosted/legacy/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/nn/hosted/legacy/inference_config.py +38 -0
- supervisely-6.1.37/supervisely_lib/nn/hosted/pytorch/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/nn/hosted/pytorch/constants.py +2 -0
- supervisely-6.1.37/supervisely_lib/nn/hosted/pytorch/inference_applier.py +88 -0
- supervisely-6.1.37/supervisely_lib/nn/hosted/pytorch/trainer.py +279 -0
- supervisely-6.1.37/supervisely_lib/nn/hosted/trainer.py +188 -0
- supervisely-6.1.37/supervisely_lib/nn/inference/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/nn/inference/rest_client.py +42 -0
- supervisely-6.1.37/supervisely_lib/nn/inference/rest_constants.py +16 -0
- supervisely-6.1.37/supervisely_lib/nn/inference/rest_server.py +105 -0
- supervisely-6.1.37/supervisely_lib/nn/pytorch/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/nn/pytorch/cuda.py +21 -0
- supervisely-6.1.37/supervisely_lib/nn/pytorch/dataset.py +24 -0
- supervisely-6.1.37/supervisely_lib/nn/pytorch/inference.py +32 -0
- supervisely-6.1.37/supervisely_lib/nn/pytorch/metrics.py +31 -0
- supervisely-6.1.37/supervisely_lib/nn/pytorch/weights.py +76 -0
- supervisely-6.1.37/supervisely_lib/nn/raw_to_labels.py +87 -0
- supervisely-6.1.37/supervisely_lib/nn/training/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/nn/training/eval_planner.py +47 -0
- supervisely-6.1.37/supervisely_lib/pointcloud/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/pointcloud/pointcloud.py +52 -0
- supervisely-6.1.37/supervisely_lib/pointcloud_annotation/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/pointcloud_annotation/constants.py +20 -0
- supervisely-6.1.37/supervisely_lib/pointcloud_annotation/pointcloud_annotation.py +113 -0
- supervisely-6.1.37/supervisely_lib/pointcloud_annotation/pointcloud_figure.py +25 -0
- supervisely-6.1.37/supervisely_lib/pointcloud_annotation/pointcloud_object.py +61 -0
- supervisely-6.1.37/supervisely_lib/pointcloud_annotation/pointcloud_object_collection.py +11 -0
- supervisely-6.1.37/supervisely_lib/project/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/project/pointcloud_project.py +150 -0
- supervisely-6.1.37/supervisely_lib/project/project.py +641 -0
- supervisely-6.1.37/supervisely_lib/project/project_meta.py +230 -0
- supervisely-6.1.37/supervisely_lib/project/project_type.py +10 -0
- supervisely-6.1.37/supervisely_lib/project/video_project.py +258 -0
- supervisely-6.1.37/supervisely_lib/pyscripts_utils/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/pyscripts_utils/utils.py +15 -0
- supervisely-6.1.37/supervisely_lib/report/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/report/table.py +70 -0
- supervisely-6.1.37/supervisely_lib/script/__init__.py +1 -0
- supervisely-6.1.37/supervisely_lib/script/utils.py +2 -0
- supervisely-6.1.37/supervisely_lib/sly_logger.py +217 -0
- supervisely-6.1.37/supervisely_lib/task/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/task/paths.py +36 -0
- supervisely-6.1.37/supervisely_lib/task/progress.py +163 -0
- supervisely-6.1.37/supervisely_lib/task/task_logger.py +116 -0
- supervisely-6.1.37/supervisely_lib/tiny_timer.py +10 -0
- supervisely-6.1.37/supervisely_lib/user/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/user/user.py +12 -0
- supervisely-6.1.37/supervisely_lib/video/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/video/import_utils.py +19 -0
- supervisely-6.1.37/supervisely_lib/video/video.py +157 -0
- supervisely-6.1.37/supervisely_lib/video_annotation/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/video_annotation/constants.py +31 -0
- supervisely-6.1.37/supervisely_lib/video_annotation/frame.py +87 -0
- supervisely-6.1.37/supervisely_lib/video_annotation/frame_collection.py +62 -0
- supervisely-6.1.37/supervisely_lib/video_annotation/key_id_map.py +283 -0
- supervisely-6.1.37/supervisely_lib/video_annotation/video_annotation.py +161 -0
- supervisely-6.1.37/supervisely_lib/video_annotation/video_figure.py +189 -0
- supervisely-6.1.37/supervisely_lib/video_annotation/video_object.py +135 -0
- supervisely-6.1.37/supervisely_lib/video_annotation/video_object_collection.py +34 -0
- supervisely-6.1.37/supervisely_lib/video_annotation/video_tag.py +127 -0
- supervisely-6.1.37/supervisely_lib/video_annotation/video_tag_collection.py +31 -0
- supervisely-6.1.37/supervisely_lib/worker_api/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/worker_api/agent_api.py +166 -0
- supervisely-6.1.37/supervisely_lib/worker_api/agent_rpc.py +63 -0
- supervisely-6.1.37/supervisely_lib/worker_api/chunking.py +95 -0
- supervisely-6.1.37/supervisely_lib/worker_api/interfaces.py +7 -0
- supervisely-6.1.37/supervisely_lib/worker_api/retriers.py +187 -0
- supervisely-6.1.37/supervisely_lib/worker_api/rpc_servicer.py +255 -0
- supervisely-6.1.37/supervisely_lib/worker_proto/__init__.py +0 -0
- supervisely-6.1.37/supervisely_lib/worker_proto/worker_api_pb2.py +1852 -0
- supervisely-6.1.37/supervisely_lib/worker_proto/worker_api_pb2_grpc.py +660 -0
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: supervisely
|
|
3
|
+
Version: 6.1.37
|
|
4
|
+
Summary: Supervisely Python SDK.
|
|
5
|
+
Home-page: https://github.com/supervisely/supervisely
|
|
6
|
+
License: UNKNOWN
|
|
7
|
+
Description: <h1 align="center">
|
|
8
|
+
<br>
|
|
9
|
+
<a href="https://supervise.ly"><img alt="Supervisely" title="Supervisely" src="https://i.imgur.com/bFuEQ4K.png" width="250"></a>
|
|
10
|
+
<br>
|
|
11
|
+
Supervisely
|
|
12
|
+
<br>
|
|
13
|
+
</h1>
|
|
14
|
+
|
|
15
|
+
<h4 align="center">AI for everyone! Neural networks, tools and Python SDK we use with <a href="https://supervise.ly">Supervisely</a>.</h4>
|
|
16
|
+
|
|
17
|
+
<p align="center">
|
|
18
|
+
<img src="https://img.shields.io/uptimerobot/status/m778791913-8b2f81d0f1c83da85158e2a5.svg">
|
|
19
|
+
<img src="https://img.shields.io/uptimerobot/ratio/m778791913-8b2f81d0f1c83da85158e2a5.svg">
|
|
20
|
+
<img src="https://img.shields.io/github/repo-size/supervisely/supervisely.svg">
|
|
21
|
+
<img src="https://img.shields.io/github/languages/top/supervisely/supervisely.svg">
|
|
22
|
+
<img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg">
|
|
23
|
+
</p>
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
<p align="center">
|
|
27
|
+
<a href="#introduction">Introduction</a> •
|
|
28
|
+
<a href="#agent">Agent</a> •
|
|
29
|
+
<a href="#neural-networks">Neural Networks</a> •
|
|
30
|
+
<a href="#import-plugins">Import Plugins</a> •
|
|
31
|
+
<a href="#python-sdk">Python SDK</a> •
|
|
32
|
+
<a href="#data-transformation-language">Data Transformations</a> •
|
|
33
|
+
<a href="#resources">Resources</a>
|
|
34
|
+
</p>
|
|
35
|
+
|
|
36
|
+

|
|
37
|
+
|
|
38
|
+
## Introduction
|
|
39
|
+
|
|
40
|
+
Supervisely is a web platform where you can find everything you need to build Deep Learning solutions within a single environment.
|
|
41
|
+
|
|
42
|
+
We learn a lot from our awesome community and want to give something back.
|
|
43
|
+
Here you can find the Python SDK we use to implement neural network models,
|
|
44
|
+
import plugins for custom data formats, and tools like the Data Transformation
|
|
45
|
+
Language. You can also find the source code for the agent to turn your PC into a
|
|
46
|
+
worker node to deploy your neural nets.
|
|
47
|
+
|
|
48
|
+
## Agent
|
|
49
|
+
|
|
50
|
+
Supervisely Agent is a simple open-source task manager available as a Docker image.
|
|
51
|
+
|
|
52
|
+
The Agent runs on a worker node. It connects to the Supervisely WEB instance and
|
|
53
|
+
listens for the tasks (like neural net training request) to run. It handles
|
|
54
|
+
downloading and uploading data to the web instance, sets up proper environments
|
|
55
|
+
for the specific tasks to run, and keeps track of progress, successes and
|
|
56
|
+
failures of individual tasks. By deploying the agent on worker machine you bring
|
|
57
|
+
up a virtual computing claster that your team can run their tasks on from the
|
|
58
|
+
Supervisely web instance.
|
|
59
|
+
|
|
60
|
+
<p align="center">
|
|
61
|
+
<img src="https://gblobscdn.gitbook.com/assets%2F-M4BHwRbuyIoH-xoF3Gv%2F-M5JQKcQ0OcHshO-q9Kz%2F-M5JQLtrAGKs7RWLDVdA%2Fagent-diagramm.png" alt="Deploying agent to Supervisely" width="400" />
|
|
62
|
+
</p>
|
|
63
|
+
|
|
64
|
+
Check out [explanation](https://github.com/supervisely/supervisely/tree/master/agent) on how agent works and [documentation](https://docs.supervise.ly/customization/agents) on how to deploy a new agent.
|
|
65
|
+
|
|
66
|
+
## Neural Networks
|
|
67
|
+
|
|
68
|
+
We have ported and implemented a number of popular neural network (NN)
|
|
69
|
+
architectures to be available as Supervisely plugins. Each plugin is a separate
|
|
70
|
+
Docker image. We continue to work on porting more NN architectures to
|
|
71
|
+
Supervisely.
|
|
72
|
+
|
|
73
|
+
We also have a detailed guide on how to [make your
|
|
74
|
+
own neural net plugin](./help/tutorials/03_custom_neural_net_plugin/custom_nn_plugin.md), so you
|
|
75
|
+
do not have to depend on anyone else to be able to use your favorite
|
|
76
|
+
architecture.
|
|
77
|
+
|
|
78
|
+
Here are the neural network architectures available out of the box today:
|
|
79
|
+
|
|
80
|
+
* [CNN-LSTM-CTC](./nn/cnn_lstm_ctc) (OCR)
|
|
81
|
+
* [DeepLab v3 Plus](./plugins/nn/deeplab_v3plus) (segmentation)
|
|
82
|
+
* [EAST](./plugins/nn/east) (text detection)
|
|
83
|
+
* [ICNet](./plugins/nn/icnet) (segmentation)
|
|
84
|
+
* [Mask RCNN](./plugins/nn/mask_rcnn_matterport) (detection and segmentation)
|
|
85
|
+
* [ResNet](./plugins/nn/resnet_classifier) (classification)
|
|
86
|
+
* [Models from TensorFlow Object Detection](./plugins/nn/tf_object_detection) (detection)
|
|
87
|
+
* [U-Net](./plugins/nn/unet_v2) (segmentation)
|
|
88
|
+
* [YOLO v3](./plugins/nn/yolo_v3) (detection)
|
|
89
|
+
|
|
90
|
+
Read [here](https://docs.new.supervise.ly/neural-networks/overview/overview/) how to run training or inference with this models.
|
|
91
|
+
|
|
92
|
+
For all source implementations of NNs the original authors are retaining all their original rights.
|
|
93
|
+
|
|
94
|
+
## Import plugins
|
|
95
|
+
|
|
96
|
+
We provide import plugins for over 30 popular dataset formats out of the box.
|
|
97
|
+
You can also leverage our [Python SDK](#python-sdk) to implement a new plugin for
|
|
98
|
+
your custom format.
|
|
99
|
+
|
|
100
|
+
## Python SDK
|
|
101
|
+
|
|
102
|
+
We have organized most of the common functionality for processing data in
|
|
103
|
+
[Supervisely format](https://docs.supervise.ly/ann_format/) and for training and
|
|
104
|
+
inference with neural networks into the [Python SDK](./supervisely_lib). Our stock plugins rely on the SDK
|
|
105
|
+
extensively, and we believe the SDK will be also valuable to the community.
|
|
106
|
+
|
|
107
|
+
The SDK not only wraps all the low-level details of handling the data and
|
|
108
|
+
communicating with the Supervisely web instance, but also provides convenience
|
|
109
|
+
helpers for the common tasks that we found useful in our own work of developing
|
|
110
|
+
Supervisely plugins, such as neural network architectures and custom dataset
|
|
111
|
+
imports.
|
|
112
|
+
|
|
113
|
+
Key features:
|
|
114
|
+
|
|
115
|
+
* Read, modify and write Supervisely projects on disk.
|
|
116
|
+
* Work with labeling data: geometric objects and tags.
|
|
117
|
+
* Common functionality for developing Supervisely plugins, so that you only
|
|
118
|
+
need to focus on the core of your custom logic, and not on low level
|
|
119
|
+
interactions with the platform.
|
|
120
|
+
|
|
121
|
+
#### Installation:
|
|
122
|
+
|
|
123
|
+
```
|
|
124
|
+
pip install supervisely
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
or
|
|
128
|
+
```
|
|
129
|
+
git clone https://github.com/supervisely/supervisely.git && \
|
|
130
|
+
pip install -e ./supervisely
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
or
|
|
134
|
+
```
|
|
135
|
+
python -m pip install git+https://github.com/supervisely/supervisely.git
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
We release updates quite often, so use following command if you would like to upgrade you current supervisely package:
|
|
139
|
+
```
|
|
140
|
+
pip install supervisely --upgrade
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
The only prerequisites are `Python` >= 3.6 and `pip`.
|
|
144
|
+
|
|
145
|
+
Tip: `opencv-python` may require `apt-get install libgtk2.0-dev` Or use pre-built Docker image which can be found on Docker Hub:
|
|
146
|
+
|
|
147
|
+
```docker pull supervisely/base-py```
|
|
148
|
+
|
|
149
|
+
The corresponding `Dockerfile` can be found in `base_images` directory.
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
## Data Transformation Language
|
|
154
|
+
|
|
155
|
+
Data Transformation Language allows to automate complicated pipelines of data transformation. Different actions determined by *DTL layers* may be applied to images and annotations. In details it is described [here](https://docs.new.supervise.ly/export/).
|
|
156
|
+
|
|
157
|
+
## Resources
|
|
158
|
+
|
|
159
|
+
- [Supervise.ly](https://supervise.ly) - Website
|
|
160
|
+
- [Medium](https://medium.com/@deepsystems) - Our technical blog.
|
|
161
|
+
Regular updates on how to use state of the art models and solve practical
|
|
162
|
+
data science problems with Supervisely.
|
|
163
|
+
- [Tutorials and Cookbooks](./help) in this repository.
|
|
164
|
+
|
|
165
|
+
Platform: UNKNOWN
|
|
166
|
+
Description-Content-Type: text/markdown
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
<h1 align="center">
|
|
2
|
+
<br>
|
|
3
|
+
<a href="https://supervise.ly"><img alt="Supervisely" title="Supervisely" src="https://i.imgur.com/bFuEQ4K.png" width="250"></a>
|
|
4
|
+
<br>
|
|
5
|
+
Supervisely
|
|
6
|
+
<br>
|
|
7
|
+
</h1>
|
|
8
|
+
|
|
9
|
+
<h4 align="center">AI for everyone! Neural networks, tools and Python SDK we use with <a href="https://supervise.ly">Supervisely</a>.</h4>
|
|
10
|
+
|
|
11
|
+
<p align="center">
|
|
12
|
+
<img src="https://img.shields.io/uptimerobot/status/m778791913-8b2f81d0f1c83da85158e2a5.svg">
|
|
13
|
+
<img src="https://img.shields.io/uptimerobot/ratio/m778791913-8b2f81d0f1c83da85158e2a5.svg">
|
|
14
|
+
<img src="https://img.shields.io/github/repo-size/supervisely/supervisely.svg">
|
|
15
|
+
<img src="https://img.shields.io/github/languages/top/supervisely/supervisely.svg">
|
|
16
|
+
<img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg">
|
|
17
|
+
</p>
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
<p align="center">
|
|
21
|
+
<a href="#introduction">Introduction</a> •
|
|
22
|
+
<a href="#agent">Agent</a> •
|
|
23
|
+
<a href="#neural-networks">Neural Networks</a> •
|
|
24
|
+
<a href="#import-plugins">Import Plugins</a> •
|
|
25
|
+
<a href="#python-sdk">Python SDK</a> •
|
|
26
|
+
<a href="#data-transformation-language">Data Transformations</a> •
|
|
27
|
+
<a href="#resources">Resources</a>
|
|
28
|
+
</p>
|
|
29
|
+
|
|
30
|
+

|
|
31
|
+
|
|
32
|
+
## Introduction
|
|
33
|
+
|
|
34
|
+
Supervisely is a web platform where you can find everything you need to build Deep Learning solutions within a single environment.
|
|
35
|
+
|
|
36
|
+
We learn a lot from our awesome community and want to give something back.
|
|
37
|
+
Here you can find the Python SDK we use to implement neural network models,
|
|
38
|
+
import plugins for custom data formats, and tools like the Data Transformation
|
|
39
|
+
Language. You can also find the source code for the agent to turn your PC into a
|
|
40
|
+
worker node to deploy your neural nets.
|
|
41
|
+
|
|
42
|
+
## Agent
|
|
43
|
+
|
|
44
|
+
Supervisely Agent is a simple open-source task manager available as a Docker image.
|
|
45
|
+
|
|
46
|
+
The Agent runs on a worker node. It connects to the Supervisely WEB instance and
|
|
47
|
+
listens for the tasks (like neural net training request) to run. It handles
|
|
48
|
+
downloading and uploading data to the web instance, sets up proper environments
|
|
49
|
+
for the specific tasks to run, and keeps track of progress, successes and
|
|
50
|
+
failures of individual tasks. By deploying the agent on worker machine you bring
|
|
51
|
+
up a virtual computing claster that your team can run their tasks on from the
|
|
52
|
+
Supervisely web instance.
|
|
53
|
+
|
|
54
|
+
<p align="center">
|
|
55
|
+
<img src="https://gblobscdn.gitbook.com/assets%2F-M4BHwRbuyIoH-xoF3Gv%2F-M5JQKcQ0OcHshO-q9Kz%2F-M5JQLtrAGKs7RWLDVdA%2Fagent-diagramm.png" alt="Deploying agent to Supervisely" width="400" />
|
|
56
|
+
</p>
|
|
57
|
+
|
|
58
|
+
Check out [explanation](https://github.com/supervisely/supervisely/tree/master/agent) on how agent works and [documentation](https://docs.supervise.ly/customization/agents) on how to deploy a new agent.
|
|
59
|
+
|
|
60
|
+
## Neural Networks
|
|
61
|
+
|
|
62
|
+
We have ported and implemented a number of popular neural network (NN)
|
|
63
|
+
architectures to be available as Supervisely plugins. Each plugin is a separate
|
|
64
|
+
Docker image. We continue to work on porting more NN architectures to
|
|
65
|
+
Supervisely.
|
|
66
|
+
|
|
67
|
+
We also have a detailed guide on how to [make your
|
|
68
|
+
own neural net plugin](./help/tutorials/03_custom_neural_net_plugin/custom_nn_plugin.md), so you
|
|
69
|
+
do not have to depend on anyone else to be able to use your favorite
|
|
70
|
+
architecture.
|
|
71
|
+
|
|
72
|
+
Here are the neural network architectures available out of the box today:
|
|
73
|
+
|
|
74
|
+
* [CNN-LSTM-CTC](./nn/cnn_lstm_ctc) (OCR)
|
|
75
|
+
* [DeepLab v3 Plus](./plugins/nn/deeplab_v3plus) (segmentation)
|
|
76
|
+
* [EAST](./plugins/nn/east) (text detection)
|
|
77
|
+
* [ICNet](./plugins/nn/icnet) (segmentation)
|
|
78
|
+
* [Mask RCNN](./plugins/nn/mask_rcnn_matterport) (detection and segmentation)
|
|
79
|
+
* [ResNet](./plugins/nn/resnet_classifier) (classification)
|
|
80
|
+
* [Models from TensorFlow Object Detection](./plugins/nn/tf_object_detection) (detection)
|
|
81
|
+
* [U-Net](./plugins/nn/unet_v2) (segmentation)
|
|
82
|
+
* [YOLO v3](./plugins/nn/yolo_v3) (detection)
|
|
83
|
+
|
|
84
|
+
Read [here](https://docs.new.supervise.ly/neural-networks/overview/overview/) how to run training or inference with this models.
|
|
85
|
+
|
|
86
|
+
For all source implementations of NNs the original authors are retaining all their original rights.
|
|
87
|
+
|
|
88
|
+
## Import plugins
|
|
89
|
+
|
|
90
|
+
We provide import plugins for over 30 popular dataset formats out of the box.
|
|
91
|
+
You can also leverage our [Python SDK](#python-sdk) to implement a new plugin for
|
|
92
|
+
your custom format.
|
|
93
|
+
|
|
94
|
+
## Python SDK
|
|
95
|
+
|
|
96
|
+
We have organized most of the common functionality for processing data in
|
|
97
|
+
[Supervisely format](https://docs.supervise.ly/ann_format/) and for training and
|
|
98
|
+
inference with neural networks into the [Python SDK](./supervisely_lib). Our stock plugins rely on the SDK
|
|
99
|
+
extensively, and we believe the SDK will be also valuable to the community.
|
|
100
|
+
|
|
101
|
+
The SDK not only wraps all the low-level details of handling the data and
|
|
102
|
+
communicating with the Supervisely web instance, but also provides convenience
|
|
103
|
+
helpers for the common tasks that we found useful in our own work of developing
|
|
104
|
+
Supervisely plugins, such as neural network architectures and custom dataset
|
|
105
|
+
imports.
|
|
106
|
+
|
|
107
|
+
Key features:
|
|
108
|
+
|
|
109
|
+
* Read, modify and write Supervisely projects on disk.
|
|
110
|
+
* Work with labeling data: geometric objects and tags.
|
|
111
|
+
* Common functionality for developing Supervisely plugins, so that you only
|
|
112
|
+
need to focus on the core of your custom logic, and not on low level
|
|
113
|
+
interactions with the platform.
|
|
114
|
+
|
|
115
|
+
#### Installation:
|
|
116
|
+
|
|
117
|
+
```
|
|
118
|
+
pip install supervisely
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
or
|
|
122
|
+
```
|
|
123
|
+
git clone https://github.com/supervisely/supervisely.git && \
|
|
124
|
+
pip install -e ./supervisely
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
or
|
|
128
|
+
```
|
|
129
|
+
python -m pip install git+https://github.com/supervisely/supervisely.git
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
We release updates quite often, so use following command if you would like to upgrade you current supervisely package:
|
|
133
|
+
```
|
|
134
|
+
pip install supervisely --upgrade
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
The only prerequisites are `Python` >= 3.6 and `pip`.
|
|
138
|
+
|
|
139
|
+
Tip: `opencv-python` may require `apt-get install libgtk2.0-dev` Or use pre-built Docker image which can be found on Docker Hub:
|
|
140
|
+
|
|
141
|
+
```docker pull supervisely/base-py```
|
|
142
|
+
|
|
143
|
+
The corresponding `Dockerfile` can be found in `base_images` directory.
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
## Data Transformation Language
|
|
148
|
+
|
|
149
|
+
Data Transformation Language allows to automate complicated pipelines of data transformation. Different actions determined by *DTL layers* may be applied to images and annotations. In details it is described [here](https://docs.new.supervise.ly/export/).
|
|
150
|
+
|
|
151
|
+
## Resources
|
|
152
|
+
|
|
153
|
+
- [Supervise.ly](https://supervise.ly) - Website
|
|
154
|
+
- [Medium](https://medium.com/@deepsystems) - Our technical blog.
|
|
155
|
+
Regular updates on how to use state of the art models and solve practical
|
|
156
|
+
data science problems with Supervisely.
|
|
157
|
+
- [Tutorials and Cookbooks](./help) in this repository.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import os
|
|
2
|
+
|
|
3
|
+
from setuptools import find_packages, setup
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def read(fname):
|
|
7
|
+
with open(os.path.join(os.path.dirname(__file__), fname)) as fin:
|
|
8
|
+
return fin.read()
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# Dependencies do not include PyTorch, so
|
|
12
|
+
# supervisely_lib.nn.hosted.pytorch will not work out of the box.
|
|
13
|
+
# If you need to invoke that part of the code, it is very likely you
|
|
14
|
+
# already have PyTorch installed.
|
|
15
|
+
setup(
|
|
16
|
+
name="supervisely",
|
|
17
|
+
version="6.1.37",
|
|
18
|
+
packages=find_packages(include=['supervisely_lib', 'supervisely_lib.*']),
|
|
19
|
+
description="Supervisely Python SDK.",
|
|
20
|
+
long_description=read("README.md"),
|
|
21
|
+
long_description_content_type='text/markdown',
|
|
22
|
+
url="https://github.com/supervisely/supervisely",
|
|
23
|
+
install_requires=[
|
|
24
|
+
"flask-restful>=0.3.7",
|
|
25
|
+
"grpcio>=1.32.0",
|
|
26
|
+
"jsonschema>=2.6.0,<3.0.0",
|
|
27
|
+
"matplotlib>=3.0.0",
|
|
28
|
+
"numpy>=1.19.1",
|
|
29
|
+
"opencv-python==3.4.10.35,<4.0.0",
|
|
30
|
+
"pandas>=1.1.3",
|
|
31
|
+
"pascal-voc-writer>=0.1.4",
|
|
32
|
+
"PTable>=0.9.2",
|
|
33
|
+
"pillow>=6.2.1",
|
|
34
|
+
"protobuf>=3.7.1",
|
|
35
|
+
# Higher python-json-logger versions are incompatible with
|
|
36
|
+
# simplejson somehow, so for now prevent higher versions from
|
|
37
|
+
# being installed.
|
|
38
|
+
"python-json-logger==0.1.11",
|
|
39
|
+
"requests>=2.24.0",
|
|
40
|
+
"requests-toolbelt>=0.9.1",
|
|
41
|
+
"scikit-image>=0.17.1",
|
|
42
|
+
"scipy>=1.5.2",
|
|
43
|
+
"Shapely>=1.7.1",
|
|
44
|
+
#"simplejson>=3.17.2",
|
|
45
|
+
"Werkzeug>=0.15.1",
|
|
46
|
+
"bidict",
|
|
47
|
+
"sk-video",
|
|
48
|
+
"plotly==4.11.0",
|
|
49
|
+
"docker",
|
|
50
|
+
"psutil>=5.4.5"
|
|
51
|
+
],
|
|
52
|
+
)
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: supervisely
|
|
3
|
+
Version: 6.1.37
|
|
4
|
+
Summary: Supervisely Python SDK.
|
|
5
|
+
Home-page: https://github.com/supervisely/supervisely
|
|
6
|
+
License: UNKNOWN
|
|
7
|
+
Description: <h1 align="center">
|
|
8
|
+
<br>
|
|
9
|
+
<a href="https://supervise.ly"><img alt="Supervisely" title="Supervisely" src="https://i.imgur.com/bFuEQ4K.png" width="250"></a>
|
|
10
|
+
<br>
|
|
11
|
+
Supervisely
|
|
12
|
+
<br>
|
|
13
|
+
</h1>
|
|
14
|
+
|
|
15
|
+
<h4 align="center">AI for everyone! Neural networks, tools and Python SDK we use with <a href="https://supervise.ly">Supervisely</a>.</h4>
|
|
16
|
+
|
|
17
|
+
<p align="center">
|
|
18
|
+
<img src="https://img.shields.io/uptimerobot/status/m778791913-8b2f81d0f1c83da85158e2a5.svg">
|
|
19
|
+
<img src="https://img.shields.io/uptimerobot/ratio/m778791913-8b2f81d0f1c83da85158e2a5.svg">
|
|
20
|
+
<img src="https://img.shields.io/github/repo-size/supervisely/supervisely.svg">
|
|
21
|
+
<img src="https://img.shields.io/github/languages/top/supervisely/supervisely.svg">
|
|
22
|
+
<img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg">
|
|
23
|
+
</p>
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
<p align="center">
|
|
27
|
+
<a href="#introduction">Introduction</a> •
|
|
28
|
+
<a href="#agent">Agent</a> •
|
|
29
|
+
<a href="#neural-networks">Neural Networks</a> •
|
|
30
|
+
<a href="#import-plugins">Import Plugins</a> •
|
|
31
|
+
<a href="#python-sdk">Python SDK</a> •
|
|
32
|
+
<a href="#data-transformation-language">Data Transformations</a> •
|
|
33
|
+
<a href="#resources">Resources</a>
|
|
34
|
+
</p>
|
|
35
|
+
|
|
36
|
+

|
|
37
|
+
|
|
38
|
+
## Introduction
|
|
39
|
+
|
|
40
|
+
Supervisely is a web platform where you can find everything you need to build Deep Learning solutions within a single environment.
|
|
41
|
+
|
|
42
|
+
We learn a lot from our awesome community and want to give something back.
|
|
43
|
+
Here you can find the Python SDK we use to implement neural network models,
|
|
44
|
+
import plugins for custom data formats, and tools like the Data Transformation
|
|
45
|
+
Language. You can also find the source code for the agent to turn your PC into a
|
|
46
|
+
worker node to deploy your neural nets.
|
|
47
|
+
|
|
48
|
+
## Agent
|
|
49
|
+
|
|
50
|
+
Supervisely Agent is a simple open-source task manager available as a Docker image.
|
|
51
|
+
|
|
52
|
+
The Agent runs on a worker node. It connects to the Supervisely WEB instance and
|
|
53
|
+
listens for the tasks (like neural net training request) to run. It handles
|
|
54
|
+
downloading and uploading data to the web instance, sets up proper environments
|
|
55
|
+
for the specific tasks to run, and keeps track of progress, successes and
|
|
56
|
+
failures of individual tasks. By deploying the agent on worker machine you bring
|
|
57
|
+
up a virtual computing claster that your team can run their tasks on from the
|
|
58
|
+
Supervisely web instance.
|
|
59
|
+
|
|
60
|
+
<p align="center">
|
|
61
|
+
<img src="https://gblobscdn.gitbook.com/assets%2F-M4BHwRbuyIoH-xoF3Gv%2F-M5JQKcQ0OcHshO-q9Kz%2F-M5JQLtrAGKs7RWLDVdA%2Fagent-diagramm.png" alt="Deploying agent to Supervisely" width="400" />
|
|
62
|
+
</p>
|
|
63
|
+
|
|
64
|
+
Check out [explanation](https://github.com/supervisely/supervisely/tree/master/agent) on how agent works and [documentation](https://docs.supervise.ly/customization/agents) on how to deploy a new agent.
|
|
65
|
+
|
|
66
|
+
## Neural Networks
|
|
67
|
+
|
|
68
|
+
We have ported and implemented a number of popular neural network (NN)
|
|
69
|
+
architectures to be available as Supervisely plugins. Each plugin is a separate
|
|
70
|
+
Docker image. We continue to work on porting more NN architectures to
|
|
71
|
+
Supervisely.
|
|
72
|
+
|
|
73
|
+
We also have a detailed guide on how to [make your
|
|
74
|
+
own neural net plugin](./help/tutorials/03_custom_neural_net_plugin/custom_nn_plugin.md), so you
|
|
75
|
+
do not have to depend on anyone else to be able to use your favorite
|
|
76
|
+
architecture.
|
|
77
|
+
|
|
78
|
+
Here are the neural network architectures available out of the box today:
|
|
79
|
+
|
|
80
|
+
* [CNN-LSTM-CTC](./nn/cnn_lstm_ctc) (OCR)
|
|
81
|
+
* [DeepLab v3 Plus](./plugins/nn/deeplab_v3plus) (segmentation)
|
|
82
|
+
* [EAST](./plugins/nn/east) (text detection)
|
|
83
|
+
* [ICNet](./plugins/nn/icnet) (segmentation)
|
|
84
|
+
* [Mask RCNN](./plugins/nn/mask_rcnn_matterport) (detection and segmentation)
|
|
85
|
+
* [ResNet](./plugins/nn/resnet_classifier) (classification)
|
|
86
|
+
* [Models from TensorFlow Object Detection](./plugins/nn/tf_object_detection) (detection)
|
|
87
|
+
* [U-Net](./plugins/nn/unet_v2) (segmentation)
|
|
88
|
+
* [YOLO v3](./plugins/nn/yolo_v3) (detection)
|
|
89
|
+
|
|
90
|
+
Read [here](https://docs.new.supervise.ly/neural-networks/overview/overview/) how to run training or inference with this models.
|
|
91
|
+
|
|
92
|
+
For all source implementations of NNs the original authors are retaining all their original rights.
|
|
93
|
+
|
|
94
|
+
## Import plugins
|
|
95
|
+
|
|
96
|
+
We provide import plugins for over 30 popular dataset formats out of the box.
|
|
97
|
+
You can also leverage our [Python SDK](#python-sdk) to implement a new plugin for
|
|
98
|
+
your custom format.
|
|
99
|
+
|
|
100
|
+
## Python SDK
|
|
101
|
+
|
|
102
|
+
We have organized most of the common functionality for processing data in
|
|
103
|
+
[Supervisely format](https://docs.supervise.ly/ann_format/) and for training and
|
|
104
|
+
inference with neural networks into the [Python SDK](./supervisely_lib). Our stock plugins rely on the SDK
|
|
105
|
+
extensively, and we believe the SDK will be also valuable to the community.
|
|
106
|
+
|
|
107
|
+
The SDK not only wraps all the low-level details of handling the data and
|
|
108
|
+
communicating with the Supervisely web instance, but also provides convenience
|
|
109
|
+
helpers for the common tasks that we found useful in our own work of developing
|
|
110
|
+
Supervisely plugins, such as neural network architectures and custom dataset
|
|
111
|
+
imports.
|
|
112
|
+
|
|
113
|
+
Key features:
|
|
114
|
+
|
|
115
|
+
* Read, modify and write Supervisely projects on disk.
|
|
116
|
+
* Work with labeling data: geometric objects and tags.
|
|
117
|
+
* Common functionality for developing Supervisely plugins, so that you only
|
|
118
|
+
need to focus on the core of your custom logic, and not on low level
|
|
119
|
+
interactions with the platform.
|
|
120
|
+
|
|
121
|
+
#### Installation:
|
|
122
|
+
|
|
123
|
+
```
|
|
124
|
+
pip install supervisely
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
or
|
|
128
|
+
```
|
|
129
|
+
git clone https://github.com/supervisely/supervisely.git && \
|
|
130
|
+
pip install -e ./supervisely
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
or
|
|
134
|
+
```
|
|
135
|
+
python -m pip install git+https://github.com/supervisely/supervisely.git
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
We release updates quite often, so use following command if you would like to upgrade you current supervisely package:
|
|
139
|
+
```
|
|
140
|
+
pip install supervisely --upgrade
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
The only prerequisites are `Python` >= 3.6 and `pip`.
|
|
144
|
+
|
|
145
|
+
Tip: `opencv-python` may require `apt-get install libgtk2.0-dev` Or use pre-built Docker image which can be found on Docker Hub:
|
|
146
|
+
|
|
147
|
+
```docker pull supervisely/base-py```
|
|
148
|
+
|
|
149
|
+
The corresponding `Dockerfile` can be found in `base_images` directory.
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
## Data Transformation Language
|
|
154
|
+
|
|
155
|
+
Data Transformation Language allows to automate complicated pipelines of data transformation. Different actions determined by *DTL layers* may be applied to images and annotations. In details it is described [here](https://docs.new.supervise.ly/export/).
|
|
156
|
+
|
|
157
|
+
## Resources
|
|
158
|
+
|
|
159
|
+
- [Supervise.ly](https://supervise.ly) - Website
|
|
160
|
+
- [Medium](https://medium.com/@deepsystems) - Our technical blog.
|
|
161
|
+
Regular updates on how to use state of the art models and solve practical
|
|
162
|
+
data science problems with Supervisely.
|
|
163
|
+
- [Tutorials and Cookbooks](./help) in this repository.
|
|
164
|
+
|
|
165
|
+
Platform: UNKNOWN
|
|
166
|
+
Description-Content-Type: text/markdown
|