Skip to content

Commit

Permalink
fix wrong import
Browse files Browse the repository at this point in the history
  • Loading branch information
JianJuly committed Sep 11, 2020
1 parent 2cf1fdc commit 7190256
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/dataloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ def standardize(images, findMeanVarOnly=True, saveDump=None, applyToTest=None):
# takes a dictionary
if applyToTest != None:
logger.info('Applying to test data using provided values')
from training_helpers import apply_mean_std
# from training_helpers import apply_mean_std
from .helpers import apply_mean_std
images = apply_mean_std(images, applyToTest)
return images

Expand Down

0 comments on commit 7190256

Please sign in to comment.