Skip to content

Problems encountered in training GMM models #63

@wq-wust

Description

@wq-wust

When I run gmr.py and gmr_letter.py, the initialization of GMM is different, I don't understand the initialization of gaussians= (mean,cov);
gmm = GMM(gaussians=[Gaussian(mean=np.random.uniform(-1., 1., size=dim),
covariance=0.1np.identity(dim)) for _ in range(num_components)])
gmm = GMM(gaussians=[Gaussian(mean=np.concatenate((np.random.uniform(0, 2., size=1),
np.random.uniform(-8., 8., size=dim-1))),
covariance=0.1
np.identity(dim)) for _ in range(num_components)])

When I tried to train the position data of the end-effector with gmm, the output result was completely wrong. If possible, I hope you can write an example, thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions