Skip to content

Commit

Permalink
Fixing flake8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-czech committed Apr 15, 2019
1 parent c3501c3 commit 81e7092
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions python/flowdec/fft_pad_rainbow.py
100644 → 100755

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions python/flowdec/restoration.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ def _build_tf_graph(self):

with tf.control_dependencies([assert_pad_mode, assert_start_mode, assert_shapes]):

# If configured to do so, expand dimensions of data array to power of 2 or
# prime factor multiples (after adding a minimum padding as well, if given)
# If configured to do so, expand dimensions of data array to power of 2 or
# prime factor multiples (after adding a minimum padding as well, if given)
# to avoid use of Bluestein algorithm in favor of significantly faster Cooley-Tukey FFT
pad_shape = tf.shape(datah) + padminh
datat = tf.cond(tf.equal(padmodh, OPM_2357),
Expand Down
3 changes: 1 addition & 2 deletions python/flowdec/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
from flowdec import data as fd_data
from flowdec import restoration as fd_restoration
from flowdec import exec as fd_exec
from flowdec.fft_utils_tf import OPTIMAL_PAD_MODES
from flowdec.fft_utils_tf import OPTIMAL_PAD_MODES, OPM_LOG2
from skimage.transform import resize
from skimage.exposure import rescale_intensity
from scipy.ndimage.interpolation import shift as scipy_shift
from skimage.measure import compare_ssim
from scipy.signal import fftconvolve
Expand Down

0 comments on commit 81e7092

Please sign in to comment.