Skip to content

Commit

Permalink
[Fix] Fix scipy warning problem (#2342)
Browse files Browse the repository at this point in the history
  • Loading branch information
aigcliu authored Jul 20, 2022
1 parent 5c25d7d commit 4aac3df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import paddle
from paddle import nn
import paddle.nn.functional as F
from scipy.ndimage.interpolation import shift
from scipy.ndimage import shift

from paddleseg.cvlibs import manager

Expand Down
2 changes: 1 addition & 1 deletion paddleseg/transforms/functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import cv2
import numpy as np
from PIL import Image, ImageEnhance
from scipy.ndimage.morphology import distance_transform_edt
from scipy.ndimage import distance_transform_edt


def normalize(im, mean, std):
Expand Down

0 comments on commit 4aac3df

Please sign in to comment.