Skip to content
Snippets Groups Projects
Commit d32a1cce authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

load data is different now

parent 134b4531
1 merge request!28Take estimators from config in generic scripts
Pipeline #
......@@ -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]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment