質問編集履歴
1
コードをさらに記載しました。
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
keras使用時の問題
|
test
CHANGED
@@ -34,7 +34,37 @@
|
|
34
34
|
|
35
35
|
ソースコード
|
36
36
|
|
37
|
+
|
38
|
+
|
39
|
+
rom __future__ import print_function, division
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
from keras.datasets import mnist
|
44
|
+
|
45
|
+
from keras.layers import Input, Dense, Reshape, Flatten, Dropout
|
46
|
+
|
47
|
+
from keras.layers import BatchNormalization, Activation, ZeroPadding2D
|
48
|
+
|
49
|
+
from keras.layers.advanced_activations import LeakyReLU
|
50
|
+
|
51
|
+
from keras.layers.convolutional import UpSampling2D, Conv2D
|
52
|
+
|
53
|
+
from keras.models import Sequential, Model
|
54
|
+
|
37
55
|
from keras.optimizers import Adam
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
import matplotlib.pyplot as plt
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
import sys
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
import numpy as np
|
38
68
|
|
39
69
|
### 試したこと
|
40
70
|
|