Skip to content

Commit

Permalink
Merge branch 'master' of ssh://phabricator.mitk.org:2222/source/dldabg
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianIsensee committed Feb 23, 2023
2 parents e59c73c + 7651ece commit 61b4334
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion batchgenerators/augmentations/spatial_transformations.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def augment_spatial_2(data, seg, patch_size, patch_center_dist_from_border=30,
do_scale=True, scale=(0.75, 1.25), border_mode_data='nearest', border_cval_data=0, order_data=3,
border_mode_seg='constant', border_cval_seg=0, order_seg=0, random_crop=True, p_el_per_sample=1,
p_scale_per_sample=1, p_rot_per_sample=1, independent_scale_for_each_axis=False,
p_rot_per_axis: float = 1, p_independent_scale_per_axis: int = 1):
p_rot_per_axis: float = 1, p_independent_scale_per_axis: float = 1):
"""
:param data:
Expand Down
2 changes: 1 addition & 1 deletion batchgenerators/transforms/spatial_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def __init__(self, patch_size, patch_center_dist_from_border=30,
do_scale=True, scale=(0.75, 1.25), border_mode_data='nearest', border_cval_data=0, order_data=3,
border_mode_seg='constant', border_cval_seg=0, order_seg=0, random_crop=True, data_key="data",
label_key="seg", p_el_per_sample=1, p_scale_per_sample=1, p_rot_per_sample=1,
independent_scale_for_each_axis=False, p_rot_per_axis:float=1, p_independent_scale_per_axis: int=1):
independent_scale_for_each_axis=False, p_rot_per_axis:float=1, p_independent_scale_per_axis: float=1):
self.p_rot_per_sample = p_rot_per_sample
self.p_scale_per_sample = p_scale_per_sample
self.p_el_per_sample = p_el_per_sample
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages

setup(name='batchgenerators',
version='0.23',
version='0.24',
description='Data augmentation toolkit',
url='https://github.com/MIC-DKFZ/batchgenerators',
author='Division of Medical Image Computing, German Cancer Research Center AND Applied Computer Vision Lab, '
Expand Down

0 comments on commit 61b4334

Please sign in to comment.