Datasets:
Update CC6204-Hackaton-Cub-Dataset.py
Browse files
CC6204-Hackaton-Cub-Dataset.py
CHANGED
@@ -56,7 +56,7 @@ train_test_split = get(_URLS["train_test_split"]).iter_lines()
|
|
56 |
_TRAIN_IDX_SET = set()
|
57 |
for row in train_test_split:
|
58 |
row = row.decode("UTF8")
|
59 |
-
|
60 |
idx, train_bool = row.split(" ")
|
61 |
# 1: train, 0: test
|
62 |
if train_bool == "1":
|
|
|
56 |
_TRAIN_IDX_SET = set()
|
57 |
for row in train_test_split:
|
58 |
row = row.decode("UTF8")
|
59 |
+
if row != "":
|
60 |
idx, train_bool = row.split(" ")
|
61 |
# 1: train, 0: test
|
62 |
if train_bool == "1":
|