DGMM
DGMM copied to clipboard
X_reconstructed_mu[i,:,:,:] = x_reconstructed_mu ValueError: could not broadcast input array from shape (28,28,28) into shape (28,28,1)
You should check "temp_mu=temp_mu+x_reconstructed_mu". The matrix addition must be consistent with the dimensions. In case of inconsistency, 0 will be filled in automatically.