Skip to content
Snippets Groups Projects
Commit 88749480 authored by Stephane Chavin's avatar Stephane Chavin
Browse files

Update file get_train_val.py

parent 60c12ac4
Branches
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ if __name__ == '__main__':
train, val = utils.split(df, 'train', args.ratio)
saved_directory = os.path.join(args.directory, 'set')
utils.create_directory(saved_directory)
if args.test:
val, test = utils.split(val, 'val', 0.5)
export_split(args, [train, val, test], args.path_to_data,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment