mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-21 17:03:00 +00:00
dlr/dataset_mono: fix crash in new ssplit3 setup
This commit is contained in:
parent
159f8a4679
commit
52af6f00ec
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ def dataset_mono(dirpath_input, percentage_validate=0.2, percentage_test=0, **kw
|
||||||
filepaths_count = len(filepaths)
|
filepaths_count = len(filepaths)
|
||||||
|
|
||||||
split_trainvalidate=math.floor(filepaths_count * (1-(percentage_validate+percentage_test)))
|
split_trainvalidate=math.floor(filepaths_count * (1-(percentage_validate+percentage_test)))
|
||||||
split_validatetest=math.floor(filepaths * (1 - percentage_test))
|
split_validatetest=math.floor(filepaths_count * (1 - percentage_test))
|
||||||
|
|
||||||
|
|
||||||
filepaths_train = filepaths[:split_trainvalidate]
|
filepaths_train = filepaths[:split_trainvalidate]
|
||||||
|
|
Loading…
Reference in a new issue