ffcv icon indicating copy to clipboard operation
ffcv copied to clipboard

Add solarization

Open bordesf opened this issue 3 years ago • 0 comments

An implementation of Solarization that follow RandomSolarize from torchvision.transforms.

Here is an example with a threshold of 1. Left: original image; Middle: FFCV Solarization; Right: Torchvision.transforms solarization_pytorch_ffcv

By the way, will it be possible to add the test_data/pig.png into a ffcv/beton file that will be saved in this repo ? This would enable the writing of automatics tests to ensure consistency with torchvision.transforms.

bordesf avatar Mar 23 '22 19:03 bordesf