質問編集履歴

4

詳細の追加

2020/08/14 14:40

投稿

law
law

スコア12

test CHANGED
File without changes
test CHANGED
@@ -110,6 +110,6 @@
110
110
 
111
111
  ディレクトリ構成は 1人物判別 2downloads 3matsumoto hitoshi 
112
112
 
113
-             2 matsumoto_images
113
+                    3.5_04.py
114
114
 
115
115
  です。

3

詳細の追加

2020/08/14 14:40

投稿

law
law

スコア12

test CHANGED
File without changes
test CHANGED
@@ -48,7 +48,7 @@
48
48
 
49
49
 
50
50
 
51
- path = "人物判別\downloads\matsumoto hitoshi"
51
+ path = "人物判別/downloads/matsumoto hitoshi/"
52
52
 
53
53
  imagesList = listdir(path)
54
54
 

2

詳細の追加

2020/08/14 14:37

投稿

law
law

スコア12

test CHANGED
File without changes
test CHANGED
@@ -48,7 +48,7 @@
48
48
 
49
49
 
50
50
 
51
- path = "人物判別\downloads\松本人志"
51
+ path = "人物判別\downloads\matsumoto hitoshi"
52
52
 
53
53
  imagesList = listdir(path)
54
54
 
@@ -84,9 +84,13 @@
84
84
 
85
85
  Traceback (most recent call last):
86
86
 
87
- File "<stdin>", line 3, in <module>
87
+ File "c:/Users/my174/programming/python/machine learning/5_04.py", line 28, in <module>
88
88
 
89
+ fake_images = make_image(target_img)
90
+
89
- File "<stdin>", line 2, in make_image
91
+ File "c:/Users/my174/programming/python/machine learning/5_04.py", line 8, in make_image
92
+
93
+ img_size = input_img.shape
90
94
 
91
95
  AttributeError: 'NoneType' object has no attribute 'shape'
92
96
 
@@ -104,7 +108,7 @@
104
108
 
105
109
  vscode
106
110
 
107
- ディレクトリ構成は 1人物判別 2downloads 3松本人志 
111
+ ディレクトリ構成は 1人物判別 2downloads 3matsumoto hitoshi 
108
112
 
109
113
              2 matsumoto_images
110
114
 

1

詳細の追加

2020/08/14 09:59

投稿

law
law

スコア12

test CHANGED
File without changes
test CHANGED
@@ -74,6 +74,12 @@
74
74
 
75
75
  ```
76
76
 
77
+
78
+
79
+
80
+
81
+ ```
82
+
77
83
  ```error
78
84
 
79
85
  Traceback (most recent call last):
@@ -86,14 +92,20 @@
86
92
 
87
93
  ```
88
94
 
95
+ ```
96
+
97
+
98
+
99
+
100
+
89
101
 
90
102
 
91
103
  環境はpython3.8.3
92
104
 
93
105
  vscode
94
106
 
95
- ディレクトリ構成は 人物判別 downloads 松本人志 
107
+ ディレクトリ構成は 1人物判別 2downloads 3松本人志 
96
108
 
97
-             matsumoto_images
109
+             2 matsumoto_images
98
110
 
99
111
  です。