From 20872e04329912f599cfd114332b32d24da7c783 Mon Sep 17 00:00:00 2001 From: Stefan Klut Date: Tue, 12 Dec 2023 15:01:36 +0100 Subject: [PATCH] for cutting after crop --- datasets/augmentations.py | 2 +- environment.yml | 1 + environment_dev.yml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/datasets/augmentations.py b/datasets/augmentations.py index 850dcea..e047676 100644 --- a/datasets/augmentations.py +++ b/datasets/augmentations.py @@ -11,9 +11,9 @@ import numpy as np from detectron2.config import CfgNode from fvcore.transforms.transform import Transform +from scipy.ndimage import gaussian_filter sys.path.append(str(Path(__file__).resolve().parent.joinpath(".."))) -from scipy.ndimage import gaussian_filter from datasets.transforms import ( AffineTransform, diff --git a/environment.yml b/environment.yml index 4a2c638..b13e426 100644 --- a/environment.yml +++ b/environment.yml @@ -22,6 +22,7 @@ dependencies: - timm - gunicorn - pillow + - shapely # - pygments #Optional for colors - pip: - natsort diff --git a/environment_dev.yml b/environment_dev.yml index 1118b7c..70f7fa7 100644 --- a/environment_dev.yml +++ b/environment_dev.yml @@ -23,6 +23,7 @@ dependencies: - timm - gunicorn - pillow + - shapely # - pygments #Optional for colors - pip: - natsort