Skip to content

Commit

Permalink
Merge pull request #147 from nicemanis/patch-1
Browse files Browse the repository at this point in the history
Update utils_imagenet.py
  • Loading branch information
albermax authored Jun 2, 2019
2 parents 751520e + 4e3c948 commit 1ed38a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/utils_imagenet.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def postprocess(X, color_conversion, channels_first):

def image(X):
X = X.copy()
return ivis.project(X, absmax=255.0, input_is_postive_only=True)
return ivis.project(X, absmax=255.0, input_is_positive_only=True)


def bk_proj(X):
Expand All @@ -34,4 +34,4 @@ def heatmap(X):


def graymap(X):
return ivis.graymap(np.abs(X), input_is_postive_only=True)
return ivis.graymap(np.abs(X), input_is_positive_only=True)

0 comments on commit 1ed38a3

Please sign in to comment.