Models and utilities for event-based depth / segmentation (Surreal benchmark).
Project description
Human Instance Segmentation using Evn
Features
- ConvLSTM-based depth estimation model for event streams
- MobileNetV2 feature encoder with UNet-like decoder
- Event voxelization and augmentation utilities
- Real-time camera viewers (Metavision / DAVIS) with overlay visualization
- Mixed perceptual + edge loss utilities (LPIPS + Sobel)
Requirements
We implemented the dataviewers on Both dvprocessing and metavisionSDK
Please install metavisionSDK for Prophesee live camera.
⚠️ Warning DO NOT forget to set metavisionsdk in your python path especially for windows!
And / Or
dvprocessing for Davis Cameras
For hdf5 file we use metavisionSDK aedat files can be processed using dvprocessing
Pleas, before installing eseg install a GPU enabled pytorch here: https://pytorch.org/get-started/locally/
Installation
pip install eseg
(Once published to PyPI.)
For development:
git clone https://github.com/youruser/eseg.git
cd eseg
python -m venv .venv
source .venv/bin/activate # Linux / macOS
pip install -e .[dev,viewer]
⚠️ Warning if you work on a virtualenvironment you will need to copy your global sdk library to your local environment
cp -r path/to/your/metavisionsdk/metavision_* <path/to/your/virtualenv/python<yourversion>/site-packages/
Quick Start
import torch
from eseg.models import ConvLSTM
# TODO: usage example after final API stabilizes
Live Stream
python -m eseg.live_stream
Testing
pytest
License
MIT. See LICENSE.
Disclaimer
Research code; APIs may change before 1.0.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file eseg-1.1.0.tar.gz.
File metadata
- Download URL: eseg-1.1.0.tar.gz
- Upload date:
- Size: 30.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28dc87230da19ef86dfdab7902bbd46450b504dcc529622a1073d35f7bbfd84b
|
|
| MD5 |
206162e87e791ea0c095d90b426f68e1
|
|
| BLAKE2b-256 |
24ee9d6c9ec1be26479b2012328663fb0a992d0c250cf3be299651789508195b
|
File details
Details for the file eseg-1.1.0-py3-none-any.whl.
File metadata
- Download URL: eseg-1.1.0-py3-none-any.whl
- Upload date:
- Size: 31.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bb5ddd7866c6037ab93e946b4e30d233e2e9bbb483f04715dcfda12f544d6e2
|
|
| MD5 |
083e2700eafb13ecf4f76bd38d96099e
|
|
| BLAKE2b-256 |
1ada89a9191805bfd63a4f3982b1f1b4aaf86785134ddbed8dd77079e973429b
|