DeepDPM icon indicating copy to clipboard operation
DeepDPM copied to clipboard

Training gets stuck in a loop [running kmeans]

Open arthur-ver opened this issue 2 years ago • 1 comments

I have 18k training samples with embedding dimension of 4. After about 150 epochs and a few kmeans splitting operations the training gets stuck in a loop during another kmeans operation with center_shift=nan

kmeans

arthur-ver avatar Feb 27 '23 13:02 arthur-ver

Hey @arthur-ver thanks for your interest! This might be a result of over-splitting (one of the k-means centroids is an outlier and the mean of its neighbours cannot be computed - because they are none). I would try to play with the --prior_sigma_scale param (default is .005) I would try increasing it in order to lower the probability of a split.

Another option would be to change the embedding representation with --transform_input_data (available choices are: "normalize", "min_max", "standard", "standard_normalize", "None"), or to stop training in an earlier epoch.

meitarronen avatar Apr 12 '23 10:04 meitarronen