tkgshn / DeepYohji

0 stars 0 forks source link

エラーが出る #2

Open tkgshn opened 4 years ago

tkgshn commented 4 years ago

image

これを参考にしてて、TensorFlowのアップデートにコードを少し変えて対応した。コメント欄と同じようなエラーが出る

Traceback (most recent call last): File "keras_dcgan.py", line 270, in c=c File "keras_dcgan.py", line 137, in train idx = np.random.randint(0, X_train.shape[0], half_batch) File "mtrand.pyx", line 747, in numpy.random.mtrand.RandomState.randint File "_bounded_integers.pyx", line 1270, in numpy.random._bounded_integers._rand_int64 ValueError: low >= high

tkgshn commented 4 years ago

https://qiita.com/berry-clione/items/c37f292231434fd2067a