質問編集履歴

2

記載漏れを再修正しました。

2020/06/05 12:02

投稿

Kkeguri
Kkeguri

スコア6

test CHANGED
File without changes
test CHANGED
@@ -38,7 +38,7 @@
38
38
 
39
39
  ```
40
40
 
41
- C:\Users\tunnel\Desktop\script_file\200605-2_mnisttest_new>yosoku.py
41
+ C:\Users\----\Desktop\script_file\200605-2_mnisttest_new>yosoku.py
42
42
 
43
43
  Using TensorFlow backend.
44
44
 

1

エラーメッセージを全文掲載いたしました。

2020/06/05 12:02

投稿

Kkeguri
Kkeguri

スコア6

test CHANGED
File without changes
test CHANGED
@@ -38,7 +38,137 @@
38
38
 
39
39
  ```
40
40
 
41
+ C:\Users\tunnel\Desktop\script_file\200605-2_mnisttest_new>yosoku.py
42
+
43
+ Using TensorFlow backend.
44
+
45
+ 2020-06-05 20:47:52.704005: W tensorflow/stream_executor/platform/default/dso_loader.cc:55
46
+
47
+ ] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
48
+
49
+ 2020-06-05 20:47:52.711669: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore ab
50
+
51
+ ove cudart dlerror if you do not have a GPU set up on your machine.
52
+
53
+ 2020-06-05 20:47:59.743375: I tensorflow/stream_executor/platform/default/dso_loader.cc:44
54
+
55
+ ] Successfully opened dynamic library nvcuda.dll
56
+
57
+ 2020-06-05 20:48:00.002471: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found
58
+
59
+ device 0 with properties:
60
+
61
+ pciBusID: 0000:01:00.0 name: Quadro K600 computeCapability: 3.0
62
+
63
+ coreClock: 0.8755GHz coreCount: 1 deviceMemorySize: 1.00GiB deviceMemoryBandwidth: 26.55Gi
64
+
65
+ B/s
66
+
67
+ 2020-06-05 20:48:00.012087: W tensorflow/stream_executor/platform/default/dso_loader.cc:55
68
+
69
+ ] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
70
+
71
+ 2020-06-05 20:48:00.017721: W tensorflow/stream_executor/platform/default/dso_loader.cc:55
72
+
73
+ ] Could not load dynamic library 'cublas64_10.dll'; dlerror: cublas64_10.dll not found
74
+
75
+ 2020-06-05 20:48:00.025252: W tensorflow/stream_executor/platform/default/dso_loader.cc:55
76
+
77
+ ] Could not load dynamic library 'cufft64_10.dll'; dlerror: cufft64_10.dll not found
78
+
79
+ 2020-06-05 20:48:00.031194: W tensorflow/stream_executor/platform/default/dso_loader.cc:55
80
+
81
+ ] Could not load dynamic library 'curand64_10.dll'; dlerror: curand64_10.dll not found
82
+
83
+ 2020-06-05 20:48:00.038717: W tensorflow/stream_executor/platform/default/dso_loader.cc:55
84
+
85
+ ] Could not load dynamic library 'cusolver64_10.dll'; dlerror: cusolver64_10.dll not found
86
+
87
+
88
+
89
+ 2020-06-05 20:48:00.045310: W tensorflow/stream_executor/platform/default/dso_loader.cc:55
90
+
91
+ ] Could not load dynamic library 'cusparse64_10.dll'; dlerror: cusparse64_10.dll not found
92
+
93
+
94
+
95
+ 2020-06-05 20:48:00.053916: W tensorflow/stream_executor/platform/default/dso_loader.cc:55
96
+
97
+ ] Could not load dynamic library 'cudnn64_7.dll'; dlerror: cudnn64_7.dll not found
98
+
99
+ 2020-06-05 20:48:00.061317: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1598] Canno
100
+
101
+ t dlopen some GPU libraries. Please make sure the missing libraries mentioned above are in
102
+
103
+ stalled properly if you would like to use GPU. Follow the guide at https://www.tensorflow.
104
+
105
+ org/install/gpu for how to download and setup the required libraries for your platform.
106
+
107
+ Skipping registering GPU devices...
108
+
109
+ 2020-06-05 20:48:00.078168: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU
110
+
111
+ supports instructions that this TensorFlow binary was not compiled to use: AVX2
112
+
113
+ 2020-06-05 20:48:00.114045: I tensorflow/compiler/xla/service/service.cc:168] XLA service
114
+
115
+ 0x68007878f0 initialized for platform Host (this does not guarantee that XLA will be used)
116
+
117
+ . Devices:
118
+
119
+ 2020-06-05 20:48:00.121366: I tensorflow/compiler/xla/service/service.cc:176] StreamExec
120
+
121
+ utor device (0): Host, Default Version
122
+
123
+ 2020-06-05 20:48:00.127601: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Devic
124
+
125
+ e interconnect StreamExecutor with strength 1 edge matrix:
126
+
127
+ 2020-06-05 20:48:00.133423: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108]
128
+
129
+
130
+
131
+ C:\Users\tunnel\AppData\Local\Programs\Python\Python38\lib\site-packages\keras_preprocessi
132
+
133
+ ng\image\utils.py:107: UserWarning: grayscale is deprecated. Please use color_mode = "gray
134
+
135
+ scale"
136
+
137
+ warnings.warn('grayscale is deprecated. Please use '
138
+
139
+ Traceback (most recent call last):
140
+
141
+ File "C:\Users\tunnel\Desktop\script_file\200605-2_mnisttest_new\yosoku.py", line 30, in
142
+
143
+ <module>
144
+
145
+ features = model.predict(X)
146
+
147
+ File "C:\Users\tunnel\AppData\Local\Programs\Python\Python38\lib\site-packages\keras\eng
148
+
149
+ ine\training.py", line 1441, in predict
150
+
151
+ x, _, _ = self._standardize_user_data(x)
152
+
153
+ File "C:\Users\tunnel\AppData\Local\Programs\Python\Python38\lib\site-packages\keras\eng
154
+
155
+ ine\training.py", line 574, in _standardize_user_data
156
+
157
+ x = training_utils.standardize_input_data(
158
+
159
+ File "C:\Users\tunnel\AppData\Local\Programs\Python\Python38\lib\site-packages\keras\eng
160
+
161
+ ine\training_utils.py", line 131, in standardize_input_data
162
+
163
+ raise ValueError(
164
+
41
- ValueError:Error when checking input: expected dense_1_input to have 2 dimensions, but got array with shape(1,28,28,1)
165
+ ValueError: Error when checking input: expected dense_1_input to have 2 dimensions, but go
166
+
167
+ t array with shape (1, 28, 28, 1)
168
+
169
+
170
+
171
+ C:\Users\tunnel\Desktop\script_file\200605-2_mnisttest_new>
42
172
 
43
173
  ```
44
174