Skip to content

code-lukas/Spacewalker

Repository files navigation

Spacewalker [arxiv]

Spacewalker image

⚠️ DO NOT use this repository "as is" in production, do not use dummy credentials.

Overview

Spacewalker overview

Spacewalker is a deep learning-based framework designed for interactive exploration and annotation of various data modalities, including images, text, and video. It leverages state-of-the-art models and dimensionality reduction methods to produce visualizations of the embedding space that users can explore interactively.

Spacewalker demo

Key Features

  • Feature-Space based: Explore how samples are related to each other and annotate directly in the reduced representation of the feature space!
  • Multi-Modal Support: Process images, text, and video data seamlessly.
  • Efficient Inference: Optimized for fast inference using NVIDIA Triton Inference Server.
  • User-Friendly Interface: Built with Django for easy interaction and configuration.

Prerequisites

  • Docker
  • Optional: VS Code + Docker Plugin for development
  • Recommended: CUDA-compatible GPU for Triton. If unavailable, CPU will be used.

Getting Started

  1. Clone or download this repository.
  2. Download the model_repository folder (link), unzip, and place it inside the root folder of this repository. The directory structure should look like this:
    Spacewalker/
    ├── .devcontainer
    ├── backend
    ├── environments
    ├── model_repository
    ├── Triton
    ├── .gitignore
    ├── docker-compose-develop.yml
    ├── docker-compose.yml
    ├── Dockerfile
    ├── inference-requests.py
    ├── LICENSE
    ├── manage.py
    ├── package-lock.json
    ├── package.json
    └── README.md
    
  3. Ensure that Docker is running.
  4. Run the following command:
    docker compose -f docker-compose.yml up --remove-orphans --force-recreate
  5. Navigate to http://0.0.0.0:8080 (http://localhost:8080).

Services

The following services are exposed on their default ports:

Development

For development, you can use the following command:

docker compose -f docker-compose.yml -f docker-compose-develop.yml up --remove-orphans --force-recreate

Frontend Development

  1. Open the project in VS Code.
  2. Open in .devcontainer.
  3. Navigate to the frontend directory:
    cd frontend
  4. Start the development server:
    npx parcel ./src/index.html --dist-dir=/workspaces/SpaceWalker/backend/static/frontend

Data Input Formats

Video

  • Formats: .mp4, .mov, .avi, .mkv
  • Description: Each file represents a single video sample.

Image

  • Formats: .jpg, .jpeg, .png, .bmp, .tiff, .webp
  • Description: Each file represents a single image sample.

Text

  • Format: .csv
  • Structure: Two columns — Id and Text
  • Example:
    Id,Text
    1,I have bought several of the Vitality canned dog food products and have found them all to be of good quality.
    2,"Product arrived labeled as Jumbo Salted Peanuts...the peanuts were actually small sized unsalted."
    3,"This is a confection that has been around a few centuries. It is a light, pillowy citrus gelatin with nuts..."
    
    
    
    

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages