All Projects â†’ torchvideo â†’ torchvideo

torchvideo / torchvideo

Licence: MPL-2.0 License
🎥 Datasets, transforms and samplers for video in PyTorch

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to torchvideo

Incoming
Transform loose and complex input into consistent, strongly-typed data structures
Stars: ✭ 231 (+212.16%)
Mutual labels:  transformations
acts
Haskell library for semigroup actions and torsors
Stars: ✭ 55 (-25.68%)
Mutual labels:  transformations
flowage
Easy transformations and filtering for NodeJS object streams.
Stars: ✭ 85 (+14.86%)
Mutual labels:  transformations
textomatic
Scratchpad for tabular data transformations
Stars: ✭ 27 (-63.51%)
Mutual labels:  transformations
pyspark-algorithms
PySpark Algorithms Book: https://www.amazon.com/dp/B07X4B2218/ref=sr_1_2
Stars: ✭ 72 (-2.7%)
Mutual labels:  transformations
claw-compiler
CLAW Compiler for Performance Portability
Stars: ✭ 38 (-48.65%)
Mutual labels:  transformations
Trimesh2
C++ library and set of utilities for input, output, and basic manipulation of 3D triangle meshes
Stars: ✭ 206 (+178.38%)
Mutual labels:  transformations
Faces
A Python wrapper around FaceApp 😔 → 😀
Stars: ✭ 79 (+6.76%)
Mutual labels:  transformations
elm-geometry-svg
Render 2D elm-geometry types as SVG
Stars: ✭ 40 (-45.95%)
Mutual labels:  transformations
RNiftyReg
An R interface to the NiftyReg medical image registration library
Stars: ✭ 32 (-56.76%)
Mutual labels:  transformations
xslweb
Web application framework for XSLT and XQuery developers
Stars: ✭ 39 (-47.3%)
Mutual labels:  transformations
dot
distributed data sync with operational transformation/transforms
Stars: ✭ 73 (-1.35%)
Mutual labels:  transformations
polliwog
2D and 3D computational geometry library
Stars: ✭ 22 (-70.27%)
Mutual labels:  transformations
Paguro
Generic, Null-safe, Immutable Collections and Functional Transformations for the JVM
Stars: ✭ 231 (+212.16%)
Mutual labels:  transformations
butterfly
Application transformation tool
Stars: ✭ 35 (-52.7%)
Mutual labels:  transformations
Slow Cheetah
Tooling for XML and JSON file transforms on build from Visual Studio and MSBuild
Stars: ✭ 227 (+206.76%)
Mutual labels:  transformations
spydrnet
A flexible framework for analyzing and transforming FPGA netlists. Official repository.
Stars: ✭ 49 (-33.78%)
Mutual labels:  transformations
paradox
ParamHelpers Next Generation
Stars: ✭ 23 (-68.92%)
Mutual labels:  transformations
volumentations
Library for 3D augmentations
Stars: ✭ 111 (+50%)
Mutual labels:  transformations
morphmorph
😱 Isomorphic transformations. Map, transform, filter, and morph your objects
Stars: ✭ 26 (-64.86%)
Mutual labels:  transformations

torchvideo

Build Status PyPI versions codecov Documentation Status

A PyTorch library for video-based computer vision tasks. torchvideo provides dataset loaders specialised for video, video frame samplers, and transformations specifically for video.

Get started

Set up an accelerated environment in conda

$ conda env create -f environment.yml -n torchvideo
$ conda activate torchvideo

# The following steps are taken from
# https://docs.fast.ai/performance.html#installation

$ conda uninstall -y --force pillow pil jpeg libtiff
$ pip uninstall -y pillow pil jpeg libtiff
$ conda install -y -c conda-forge libjpeg-turbo
$ CFLAGS="${CFLAGS} -mavx2" pip install --upgrade --no-cache-dir --force-reinstall --no-binary :all: --compile pillow-simd
$ conda install -y jpeg libtiff

NOTE: If the installation of pillow-simd fails, you can try installing GCC from conda-forge and trying the install again:

$ conda install -y gxx_linux-64
$ export CXX=x86_64-conda_cos6-linux-gnu-g++
$ export CC=x86_64-conda_cos6-linux-gnu-gcc
$ CFLAGS="${CFLAGS} -mavx2" pip install --upgrade --no-cache-dir --force-reinstall --no-binary :all: --compile pillow-simd
$ conda install -y jpeg libtiff

If you install any new packages, check that pillow-simd hasn't be overwritten by an alternate pillow install by running:

$ python -c "from PIL import Image; print(Image.PILLOW_VERSION)"

You should see something like

6.0.0.post0

Pillow doesn't release with post suffixes, so if you have post in the version name, it's likely you have pillow-simd installed.

Install torchvideo

$ pip install git+https://github.com/willprice/torchvideo.git@master

Learn how to use torchvideo

Check out the example notebooks, you can launch these on binder without having to install anything locally!

Acknowledgements

Thanks to the following people and projects

  • yjxiong for his work on TSN and publicly available pytorch implementation from which many of the transforms in this project started from.
  • dukebw for his excellent lintel FFmpeg video loading library.
  • hypothesis and the team behind it. This has been used heavily in testing the project.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].