Skip to content

Commit

Permalink
indent
Browse files Browse the repository at this point in the history
  • Loading branch information
Madhav Khosla committed Jul 22, 2019
1 parent 8e09752 commit ce4bc75
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions utils/one_hot_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def HotEncode(self, class_map):
encoded[x][y][category]= 1
return encoded

def channelSplit(self,Nch_Hot_encoded):
"""The hot encoded Image is stored as stack of Hot encoded ndarrays
this function returns a list of cll the channels"""
return np.dsplit(Nch_Hot_encoded,Nch_Hot_encoded.shape[-1])
def channelSplit(self,Nch_Hot_encoded):
"""The hot encoded Image is stored as stack of Hot encoded ndarrays
this function returns a list of cll the channels"""
return np.dsplit(Nch_Hot_encoded,Nch_Hot_encoded.shape[-1])

0 comments on commit ce4bc75

Please sign in to comment.