Commit d32a1cce authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

load data is different now

parent 134b4531
Pipeline #13533 failed with stages
in 2 minutes and 18 seconds
......@@ -60,8 +60,7 @@ def bio_generator(database, biofiles, load_data=None, biofile_to_label=None,
yield (data, label, key)
# load one data to get its type and shape
data = load_data(biofiles[0], database.original_directory,
database.original_extension)
data = load_data(database, biofiles[0])
if multiple_samples:
try:
data = data[0]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment