Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.
/ accimage Public archive

high performance image loading and augmenting routines mimicking PIL.Image interface

License

Notifications You must be signed in to change notification settings

pytorch/accimage

accimage

Build status Anaconda badge

An accelerated Image loader and preprocessor leveraging Intel IPP.

accimage mimics the PIL API and can be used as a backend for torchvision.

Operations implemented:

  • Image.resize((width, height))
  • Image.crop((left, upper, right, lower))
  • Image.transpose(PIL.Image.FLIP_LEFT_RIGHT)

Enable the torchvision accimage backend with:

torchvision.set_image_backend('accimage')

Installation

accimage is available on conda-forge, simply run the following to install

$ conda install -c conda-forge accimage

About

high performance image loading and augmenting routines mimicking PIL.Image interface

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages