のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

2018-10-19から1日間の記事一覧

InvalidArgumentError: Input to reshape is a tensor with 3200 values, but the requested shape requires a multiple of 49

VAEのもとのソースをgoogle colabで実行したら、以下のようなエラーがでた。 for i in range(30000): batch = [np.reshape(b, [28, 28]) for b in mnist.train.next_batch(batch_size=batch_size)[0]] sess.run(optimizer, feed_dict = {X_in: batch, Y: bat…