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

Fix for skimage and new script to process a batch of inputs #23

Merged
merged 5 commits into from
Oct 20, 2024

Conversation

timhf
Copy link

@timhf timhf commented May 10, 2023

Hey,
I used your tool to do some robustness evaluation of BDD100k. Thereby, I came across an error that I fixed: It looks like newer versions of skimage deprecated the multichannel parameter for gaussian. I updated it to channel_axis=-1 according to the docu.
I also added a script that is able to apply corruptions to a batch of images, e.g., an entire dataset. If you find this useful feel free to add it to the upstream.

Thanks Tim

@@ -12,11 +12,8 @@
import cv2
from scipy.ndimage import zoom as scizoom
from scipy.ndimage.interpolation import map_coordinates
import warnings
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

those were unused...

@timhf
Copy link
Author

timhf commented May 10, 2023

For fix see: Link under channel_axis

@rgeirhos rgeirhos merged commit 2393c18 into bethgelab:master Oct 20, 2024
@rgeirhos
Copy link
Member

Thanks so much for this PR, this is great! And apologies for the late merge.

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