質問編集履歴
1
情報の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
Traceback (most recent call last):
|
12
12
|
|
13
|
-
File "cnn.py", line 16
|
13
|
+
File "cnn.py", line 16, in <module>
|
14
14
|
|
15
15
|
model.fit(trainDataSet, trainLabel, n_epoch=100, batch_size=32, validation_set=0.1, show_metric=True)
|
16
16
|
|
@@ -41,6 +41,32 @@
|
|
41
41
|
とでます。全文は
|
42
42
|
|
43
43
|
```ここに言語を入力
|
44
|
+
|
45
|
+
# coding: utf-8
|
46
|
+
|
47
|
+
import tensorflow as tf
|
48
|
+
|
49
|
+
import tflearn
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
from tflearn.layers.core import input_data,dropout,fully_connected
|
54
|
+
|
55
|
+
from tflearn.layers.conv import conv_2d, max_pool_2d
|
56
|
+
|
57
|
+
from tflearn.layers.normalization import local_response_normalization
|
58
|
+
|
59
|
+
from tflearn.layers.estimator import regression
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
import pandas as pd
|
64
|
+
|
65
|
+
import numpy as np
|
66
|
+
|
67
|
+
from sklearn import metrics
|
68
|
+
|
69
|
+
|
44
70
|
|
45
71
|
tf.reset_default_graph()
|
46
72
|
|