DGMM icon indicating copy to clipboard operation
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)

Open GokulAarthishwaran opened this issue 4 years ago • 1 comments

GokulAarthishwaran avatar Nov 02 '20 15:11 GokulAarthishwaran

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.

lizhuang-blog avatar Nov 05 '22 02:11 lizhuang-blog