π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
kornia.contrib.KMeans now rejects a num_clusters that is not a positive integer when it is constructed, and fit rejects more clusters than samples when the starting centres are drawn from the data, each with an error that names num_clusters. A negative or None count used to pass the constructor and fail in fit inside one_hot ("Class values must be smaller than num_classes"), and more clusters than samples drew fewer centres and failed the first update with an unrelated tensor-size RuntimeError.