Skip to content

Commit

Permalink
Disable isotropic scaling by default
Browse files Browse the repository at this point in the history
  • Loading branch information
fepegar committed Feb 14, 2019
1 parent a91644b commit d45b827
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions niftynet/layer/rand_spatial_scaling.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import warnings

import tensorflow as tf
import numpy as np
import scipy.ndimage as ndi

Expand All @@ -22,7 +21,7 @@ def __init__(self,
min_percentage=-10.0,
max_percentage=10.0,
antialiasing=True,
isotropic=True,
isotropic=False,
name='random_spatial_scaling'):
super(RandomSpatialScalingLayer, self).__init__(name=name)
assert min_percentage <= max_percentage
Expand Down

0 comments on commit d45b827

Please sign in to comment.