Skip to content

Commit

Permalink
Remove unnecessary line
Browse files Browse the repository at this point in the history
Turns out the line is redundant and not needed, hopefully slightly increasing performance of the HDF5 creaters
  • Loading branch information
jacobbieker committed Oct 25, 2018
1 parent 9cdf6ad commit f24f9cc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions factnn/preprocess/base_preprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,6 @@ def reformat(self, image):
:return:
"""
dataset = np.swapaxes(image, 1, 3)
print(dataset.shape)
dataset = np.array(dataset).reshape((self.shape[0], self.shape[3], self.shape[2], self.shape[1])).astype(np.float32)
print(dataset.shape)
return dataset

def format(self, batch):
Expand Down

0 comments on commit f24f9cc

Please sign in to comment.