質問編集履歴
1
書式の改善
test
CHANGED
File without changes
|
test
CHANGED
@@ -8,28 +8,9 @@
|
|
8
8
|
|
9
9
|
ImageDataGenerator, flow_from_directoryを用いて画像をディレクトリから読み込みたい。
|
10
10
|
|
11
|
-
### 発生している問題・エラーメッセージ
|
12
|
-
|
13
|
-
```
|
14
|
-
Traceback (most recent call last):
|
15
|
-
File "c:\Users\a_\Desktop\Python\Keras\CNN_denoising.py", line 192, in <module>
|
16
|
-
autoencoder.fit(
|
17
|
-
File "C:\Users\a_\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorflow\python\keras\engine\training.py", line 1137, in fit
|
18
|
-
data_handler = data_adapter.get_data_handler(
|
19
|
-
File "C:\Users\a_\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorflow\python\keras\engine\data_adapter.py", line 1394, in get_data_handler
|
20
|
-
return DataHandler(*args, **kwargs)
|
21
|
-
File "C:\Users\a_\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorflow\python\keras\engine\data_adapter.py", line 1149, in __init__
|
22
|
-
self._adapter = adapter_cls(
|
23
|
-
File "C:\Users\a_\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorflow\python\keras\engine\data_adapter.py", line 797, in __init__
|
24
|
-
raise ValueError("`y` argument is not supported when using "
|
25
|
-
ValueError: `y` argument is not supported when using python generator as input.
|
26
|
-
```
|
27
11
|
|
28
12
|
|
29
13
|
|
30
|
-
### 実現したいこと
|
31
|
-
|
32
|
-
ImageDataGenerator, flow_from_directoryを用いて画像をディレクトリから読み込みたい。
|
33
14
|
|
34
15
|
### 発生している問題・エラーメッセージ
|
35
16
|
|