Closed a-lemus96 closed 8 months ago
The following error was encountered when instantiating the validation dataset sklearn.utils._param_validation.InvalidParameterError: The 'n_clusters' parameter of KMeans must be an int in the range [1, inf). Got 4.0 instead.
The following error was encountered when instantiating the validation dataset
sklearn.utils._param_validation.InvalidParameterError: The 'n_clusters' parameter of KMeans must be an int in the range [1, inf). Got 4.0 instead.
Originally posted by @a-lemus96 in #52
Problem was due to floating point result from dividing args.n_imgs by 2. Changed / operator to // to perform floor division.
args.n_imgs
/
//
Originally posted by @a-lemus96 in #52