Is there an example on how to work with generalized mixture models?

It might not work directly out of the box… There are some problem with the mixture model in terms of dimension etc, for example:

There are some work needs to be done there…