TransNetV2 / README.md
magnusdtd's picture
Upload folder using huggingface_hub
10d1937 verified
---
license: mit
---
# TransNetV2 (PyTorch Version)
This repository provides a PyTorch version of [TransNet V2](https://github.com/soCzech/TransNetV2), a state-of-the-art neural network for shot boundary detection in videos.
## Installation
Clone the repository and install the required dependencies.
```sh
sudo apt-get install ffmpeg
pip install requirements.txt
```
## Usage
```sh
python -m main --files="path/to/your/file/or/folder" --weights="path/to/the/model/weights" --visualize
```