dataset_mono: add todo

This commit is contained in:
Starbeamrainbowlabs 2024-08-02 19:48:29 +01:00
parent e15f6cd954
commit a75d4f5d79
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -143,6 +143,7 @@ def get_filepaths(dirpath_input, do_shuffle=True):
return result return result
# TODO refactor this to validate_percentage=0.2 and test_percentage=0, but DON'T FORGET TO CHECK ***ALL*** usages of this FIRST and update them afterwards!
def dataset_mono(dirpath_input, train_percentage=0.8, **kwargs): def dataset_mono(dirpath_input, train_percentage=0.8, **kwargs):
filepaths = get_filepaths(dirpath_input) filepaths = get_filepaths(dirpath_input)
filepaths_count = len(filepaths) filepaths_count = len(filepaths)