Official implementation of STREAMER, a self-supervised hierarchical event segmentation and representation learning
Project description
STREAMER
The official PyTorch implementation of our NeurIPS'23 paper STREAMER: Streaming Representation Learning and Event Segmentation in a Hierarchical Manner
Overview
Documentation
Checkout the documentation of STREAMER modules to learn more details about how to use our codebase.
Installation
pip install streamer-torch # with pip from PyPI
pip install git+'https://github.com/ramyamounir/streamer-torch' # with GitHub
Inference
Note: Pretrained weights are coming soon..
from streamer.models.inference_model import InferenceModel
model = InferenceModel(checkpoint='to/checkpoint/path/')
result = model(filename='to/video/file/path')
Training
In order to perform training with streamer:
- Use the Dataset README.md to preprocess datasets for streaming loading and evaluation.
- Use the provided training script to train on multiple gpus (i.e., or multi-node).
- The script compare.py can be used to evaluate the model's prediction using Hierarchical Level Reduction.
Bash scripts with CLI arguments are provided in helper_scripts
Citing STREAMER
If you find our approaches useful in your research, please consider citing:
@inproceedings{mounir2023streamer,
title={STREAMER: Streaming Representation Learning and Event Segmentation in a Hierarchical Manner},
author={Mounir, Ramy and Vijayaraghavan, Sujal and Sarkar, Sudeep},
booktitle={Thirty-seventh Conference on Neural Information Processing Systems},
year={2023}
}
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
File details
Details for the file streamer-torch-0.0.3.tar.gz
.
File metadata
- Download URL: streamer-torch-0.0.3.tar.gz
- Upload date:
- Size: 27.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d5e9fc9037ef713ebfcf027c5eb1836011ced73112b5e453e0cd205ac6c0e87 |
|
MD5 | b5422e362bba2cde38728af1a6a9dec1 |
|
BLAKE2b-256 | bf49b62a09232a43c0cc68cd6c3fed907bbac5ea5aa6900fcaea18a6295a8987 |
File details
Details for the file streamer_torch-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: streamer_torch-0.0.3-py3-none-any.whl
- Upload date:
- Size: 35.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88c9c6b24ada066a8c9e742b29b71337fe6c8ee51d22a80019afa72d1c561ef2 |
|
MD5 | 665ce195e47c334d3e5d9d0ba7c3dd5a |
|
BLAKE2b-256 | d83b0cf42d6f6a05b9f3b0f359a7b9668d133468d367b02577438ce1b07e4aea |