Skip to content
This repository has been archived by the owner on Jun 3, 2019. It is now read-only.

Commit

Permalink
TypeError: 'float' object cannot be interpreted as an integer
Browse files Browse the repository at this point in the history
Look into Issues (jocicmarko#79)
  • Loading branch information
SlimRG authored Oct 11, 2018
1 parent df9eb77 commit 920460e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
def create_train_data():
train_data_path = os.path.join(data_path, 'train')
images = os.listdir(train_data_path)
total = len(images) / 2
total = len(images) // 2

imgs = np.ndarray((total, image_rows, image_cols), dtype=np.uint8)
imgs_mask = np.ndarray((total, image_rows, image_cols), dtype=np.uint8)
Expand Down

0 comments on commit 920460e

Please sign in to comment.