Skip to content

Commit

Permalink
ignore warnings on import albumentations
Browse files Browse the repository at this point in the history
  • Loading branch information
David Erb committed Apr 9, 2023
1 parent 92aefe1 commit 7a2abf6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/xchem_chimp/version.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
import logging
import warnings

import albumentations
import imageio
import skimage
import torch
import torchvision

import xchem_chimp

with warnings.catch_warnings():
# Disregard warnings like: DeprecationWarning: Please use `gaussian_filter` from the `scipy.ndimage` namespace, the `scipy.ndimage.filters` namespace is deprecated.
warnings.filterwarnings("ignore", category=DeprecationWarning)
import albumentations


logger = logging.getLogger(__name__)


Expand Down

0 comments on commit 7a2abf6

Please sign in to comment.