LightlyStudio - The Unified Data Platform for Multimodal ML
翻译准备中
数据Python · TypeScriptGitHub @lightly-ai自行安装运营者未确认
试用过了吗? 点一下就好,无需登录。
制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗LightlyStudio runs on your computer and opens in your browser. The following command downloads an example dataset with images, annotations, and evaluation results — no account needed.
pip install lightly-studio
lightly-studio quickstart
LightlyStudio is a browser app that runs on your own computer. Load your data into the local database with a Python script, then start the server and explore it in your browser.
Create a file named example_coco.py:
import lightly_studio as ls
# Download the example dataset (will be skipped if it already exists)
dataset_path = ls.utils.download_example_dataset(download_dir="dataset_examples")
dataset = ls.ImageDataset.load_or_create()
dataset.add_samples_from_coco(
annotations_json=f"{dataset_path}/coco_subset_128_images/instances_train2017.json",
images_path=f"{dataset_path}/coco_subset_128_images/images",
)
# Start the UI server on localhost:8001.
# Pass `host` and `port` parameters to customize it.
# Reopen the app later with `lightly-studio gui` instead of re-running this script.
ls.start_gui()
Run python example_coco.py and open the printed URL to inspect images with their annotations.
To ingest COCO samples with segmentation masks instead of object detections, pass
annotation_type=ls.AnnotationType.SEGMENTATION_MASK to add_samples_from_coco().
Create a file named example_image.py:
import lightly_studio as ls
# Download the example dataset (will be skipped if it already exists)
dataset_path = ls.utils.download_example_dataset(download_dir="dataset_examples")
# Index the images, create embeddings, and store everything in the local database.
dataset = ls.ImageDataset.load_or_create()
dataset.add_images_from_path(
path=f"{dataset_path}/coco_subset_128_images/images",
)
# Start the UI server on localhost:8001.
# Pass `host` and `port` parameters to customize it.
ls.start_gui()
Run python example_image.py and open the printed URL in your browser.
Other starting points: YOLO datasets, video folders, custom annotations, model evaluation, notebooks, and more in the docs.
Step-by-step guides covering complete workflows — from raw, unlabeled data to a trained and evaluated model:
Set up a dataset
Work with your data
Everything in LightlyStudio is scriptable: index datasets, query and edit samples, sample subsets, and export the result. See the API reference.
We welcome contributions! Please check our issues page for current tasks and improvements, or propose new issues yourself. See CONTRIBUTING.md for development setup and validation instructions.