Skip to main content

A tool for CV dataset labeling, visualizing and analysing

Project description

DeepDataSpace


 

The Go-To Choice for CV Data Visualization, Annotation, and Model Analysis.


WebsiteDocsTutorials

codecov Website License

PyPI python PyPI version PyPI - Downloads

DeepDataSpace


Deep Data Space (DDS) is an open-source dataset tool with these features out-of-box:

  • interactive dataset visualization and exploration
  • intelligent annotation with a collaborative workflow
  • efficient model management and performance analysis

1. Installation

1.1 Prerequisites

DeepDataSpace(DDS) requires Python 3.8 - 3.10 and runs on the following platforms:

  • Mac OS: ✅ x86/x64, ✅ arm64
  • Windows 10: ✅ x86/x64, ❌ arm64
  • Ubuntu LTS since 18.04: ✅ x86/x64, ❌ arm64
  • Docker Compose: ✅ x86/x64, ✅ arm64

1.2 Installing from PyPI

python3 -m pip install pip --upgrade
python3 -m pip install deepdataspace

2. Quick Start

The dds command will be available once the deepdataspace is installed, with which you can quickly start the DDS tool.

dds --quickstart

# Started DDS[${pid}] at http://127.0.0.1:8765.
# The DDS tool is importing datasets inside dir in the background: $HOME/.deepdataspace/dataset-samples.
# Explore other useful commands by: ddsop --help.
# You can quit the DDS tool with Ctrl+C.

It takes a while the first time you start the DDS tool, as it is downloading extra dependencies to set up a runtime environment.
Once the DDS tool is started, visit http://127.0.0.1:8765 and you will see the flowing sample datasets:

https://user-images.githubusercontent.com/10917115/240788538-f1fa8d52-7d93-4fe3-bf42-55284074febd.mp4

3. Alternative Installation Methods

3.1 Installing from Source Code

# clone the source code
git clone https://github.com/IDEA-Research/deepdataspace.git

# prepare the node environment(if you haven't installed the Pnpm and Node environment yet)
curl -fsSL https://get.pnpm.io/install.sh | sh -
pnpm env use --global lts

# compile frontend files
pnpm i
pnpm run build:app

# copy frontend files to python package dir
rm -rf deepdataspace/server/static/*
cp -R packages/app/dist/* deepdataspace/server/static/
cp deepdataspace/server/static/index.html deepdataspace/server/templates/

# install the package
python3 -m pip install pip --upgrade
python3 -m pip install -r requirements.txt
python3 setup.py install

After the installation, you can start DDS the same way as above:

dds --quickstart

3.2 Installing by Docker Compose

# clone the source code
git clone https://github.com/IDEA-Research/deepdataspace.git

# prepare dataset directory(where you put all your datasets inside)
mkdir -p datasets
export DDS_DATASET_DIR=$PWD/datasets

# choose a visiting port for DDS
export DDS_PORT=8765

# start DDS with docker compose
cd deepdataspace
docker compose up

If everything goes well, you can start visiting DDS at http://127.0.0.1:8765

4. Documentation

Visit our documentation for more details on how to utilize the powers of DDS.

5. Uninstallation

For users who installed DDS from PyPi or source code, just uninstall DDS with pip and delete the runtime files.

pip uninstall deepdataspace

rm -rf ~/.deepdataspace/* # use with caution, it will delete all datasets imported before

For users who installed DDS from docker image, just stop the container and remove the docker image and volume.

docker stop dds
docker rmi deepdataspace/dds
docker volume remove dds-runtime # use with caution, it will delete all datasets imported before

6. License

This project is released under the Apache 2.0 License.

Copyright 2023-present, IDEA

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deepdataspace-0.12.2.tar.gz (1.6 MB view details)

Uploaded Source

File details

Details for the file deepdataspace-0.12.2.tar.gz.

File metadata

  • Download URL: deepdataspace-0.12.2.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for deepdataspace-0.12.2.tar.gz
Algorithm Hash digest
SHA256 4c2015c6fda5cec8cd6fa95a3b9a891588df993e996d731ecc750f823f61c8d7
MD5 95bf16f4f2ec17b335a50b1f38afdb21
BLAKE2b-256 89c4670417e9fec35b5e4d08eaa1cc562552eefa07b84bc15b888cccf5fe5d33

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page