Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add solarization #203

Merged
merged 2 commits into from
Jun 19, 2023
Merged

Add solarization #203

merged 2 commits into from
Jun 19, 2023

Conversation

bordesf
Copy link

@bordesf bordesf commented Mar 23, 2022

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.

@andrewilyas andrewilyas changed the base branch from main to v1.1.0 June 19, 2023 17:00
@andrewilyas andrewilyas merged commit 7ed86a5 into libffcv:v1.1.0 Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants