質問編集履歴
10
変更後
test
CHANGED
File without changes
|
test
CHANGED
@@ -301,3 +301,7 @@
|
|
301
301
|
#学習時に使った画像のパス AからZのフォルダ
|
302
302
|
|
303
303
|
![イメージ説明](471f9f62bbbdc3bd81485f23d35afcc5.png)
|
304
|
+
|
305
|
+
#CSVファイルの中身 変更後
|
306
|
+
|
307
|
+
![イメージ説明](10baac30fa9f148d69015f7254f0cab3.png)
|
9
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -297,3 +297,7 @@
|
|
297
297
|
#学習結果
|
298
298
|
|
299
299
|
![イメージ説明](21133677e9bf1bc8a2137313a3f9816f.png)
|
300
|
+
|
301
|
+
#学習時に使った画像のパス AからZのフォルダ
|
302
|
+
|
303
|
+
![イメージ説明](471f9f62bbbdc3bd81485f23d35afcc5.png)
|
8
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -66,7 +66,7 @@
|
|
66
66
|
|
67
67
|
# BinaryConnectAffine -> 100
|
68
68
|
|
69
|
-
h = PF.binary_connect_affine(x, name='BinaryConnectAffine')
|
69
|
+
h = PF.binary_connect_affine(x,(100), name='BinaryConnectAffine')
|
70
70
|
|
71
71
|
# BatchNormalization
|
72
72
|
|
@@ -78,7 +78,7 @@
|
|
78
78
|
|
79
79
|
# BinaryConnectAffine_2
|
80
80
|
|
81
|
-
h = PF.binary_connect_affine(h, name='BinaryConnectAffine_2')
|
81
|
+
h = PF.binary_connect_affine(h,(100), name='BinaryConnectAffine_2')
|
82
82
|
|
83
83
|
# BatchNormalization_2
|
84
84
|
|
@@ -90,7 +90,7 @@
|
|
90
90
|
|
91
91
|
# BinaryConnectAffine_3
|
92
92
|
|
93
|
-
h = PF.binary_connect_affine(h, name='BinaryConnectAffine_3')
|
93
|
+
h = PF.binary_connect_affine(h,(100), name='BinaryConnectAffine_3')
|
94
94
|
|
95
95
|
# BatchNormalization_3
|
96
96
|
|
@@ -102,7 +102,7 @@
|
|
102
102
|
|
103
103
|
# BinaryConnectAffine_4 -> 26
|
104
104
|
|
105
|
-
h = PF.binary_connect_affine(h, (26
|
105
|
+
h = PF.binary_connect_affine(h, (26), name='BinaryConnectAffine_4')
|
106
106
|
|
107
107
|
# BatchNormalization_4
|
108
108
|
|
7
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -190,7 +190,7 @@
|
|
190
190
|
|
191
191
|
f = f.append(new_name, ignore_index=True)
|
192
192
|
|
193
|
-
f.to_csv('
|
193
|
+
f.to_csv('valu.csv',index=False,header = True )
|
194
194
|
|
195
195
|
|
196
196
|
|
@@ -226,7 +226,7 @@
|
|
226
226
|
|
227
227
|
f = f.append(new_name, ignore_index=True)
|
228
228
|
|
229
|
-
f.to_csv('
|
229
|
+
f.to_csv('valu.csv',index=False,header = True )
|
230
230
|
|
231
231
|
|
232
232
|
|
6
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -190,7 +190,7 @@
|
|
190
190
|
|
191
191
|
f = f.append(new_name, ignore_index=True)
|
192
192
|
|
193
|
-
f.to_csv('C:\Users\
|
193
|
+
f.to_csv('C:\Users\username\Desktop\output\valu.csv',index=False,header = True )
|
194
194
|
|
195
195
|
|
196
196
|
|
5
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,73 +14,19 @@
|
|
14
14
|
|
15
15
|
#エラー文
|
16
16
|
|
17
|
-
runfile('C:/Users/username/Desktop/output/capture.py', wdir='C:/Users/username/Desktop/output')
|
18
|
-
|
19
|
-
2021-01-13 16:39:22,969 [nnabla][INFO]: Initializing CPU extension...
|
20
|
-
|
21
|
-
2021-01-13 16:39:26,948 [nnabla][INFO]: DataSource with shuffle(False)
|
22
|
-
|
23
|
-
2021-01-13 16:39:26,950 [nnabla][INFO]: Using DataSourceWithFileCache
|
24
|
-
|
25
|
-
2021-01-13 16:39:26,950 [nnabla][INFO]: DataSource with shuffle(False)
|
26
|
-
|
27
|
-
2021-01-13 16:39:26,951 [nnabla][INFO]: Cache Directory is None
|
28
|
-
|
29
|
-
2021-01-13 16:39:26,951 [nnabla][INFO]: Cache size is 100
|
30
|
-
|
31
|
-
2021-01-13 16:39:26,952 [nnabla][INFO]: Num of thread is 10
|
32
|
-
|
33
|
-
2021-01-13 16:39:26,953 [nnabla][INFO]: Cache file format is .npy
|
34
|
-
|
35
|
-
2021-01-13 16:39:26,956 [nnabla][INFO]: Tempdir for cache C:\Users\NOGAMI~1\AppData\Local\Temp\tmpnhsqprkl created.
|
36
|
-
|
37
|
-
2021-01-13 16:39:26,972 [nnabla][INFO]: Creating cache file C:\Users\NOGAMI~1\AppData\Local\Temp\tmpnhsqprkl\cache_00000000_00000000.npy
|
38
|
-
|
39
|
-
2021-01-13 16:39:26,981 [nnabla][INFO]: Using DataSourceWithMemoryCache
|
40
|
-
|
41
|
-
2021-01-13 16:39:26,981 [nnabla][INFO]: DataSource with shuffle(False)
|
42
|
-
|
43
|
-
2021-01-13 16:39:26,984 [nnabla][INFO]: On-memory
|
44
|
-
|
45
|
-
2021-01-13 16:39:26,984 [nnabla][INFO]: Using DataIterator
|
46
|
-
|
47
|
-
2021-01-13 16:39:26,987 [nnabla][INFO]: Parameter load (<built-in function format>): C:\Users\username\Desktop\output\yubidata.files\20210113_161413\results.nnp
|
48
|
-
|
49
|
-
Traceback (most recent call last):
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
17
|
+
File "C:\Users\username\Desktop\output\capture.py", line 106, in <module>
|
54
|
-
|
55
|
-
|
18
|
+
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
File "C:\Users\username\anaconda3\lib\site-packages\nnabla\parameter.py", line 401, in load_parameters
|
60
|
-
|
61
|
-
with get_file_handle_load(path, ext) as nnp:
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
File "C:\Users\username\anaconda3\lib\contextlib.py", line 113, in __enter__
|
66
|
-
|
67
|
-
|
19
|
+
y = network(x, t)
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
20
|
+
|
72
|
-
|
73
|
-
|
21
|
+
|
74
|
-
|
75
|
-
|
76
|
-
|
22
|
+
|
77
|
-
File "C:\Users\username\
|
23
|
+
File "C:\Users\username\Desktop\output\capture.py", line 16, in network
|
78
|
-
|
24
|
+
|
79
|
-
|
25
|
+
h = PF.binary_connect_affine(x, name='BinaryConnectAffine')
|
80
|
-
|
81
|
-
|
82
|
-
|
26
|
+
|
27
|
+
|
28
|
+
|
83
|
-
|
29
|
+
TypeError: binary_connect_affine() missing 1 required positional argument: 'n_outmaps'
|
84
30
|
|
85
31
|
|
86
32
|
|
4
新しいエラー
test
CHANGED
File without changes
|
test
CHANGED
@@ -302,7 +302,7 @@
|
|
302
302
|
|
303
303
|
|
304
304
|
|
305
|
-
nn.load_parameters('C:\Users\username\Desktop\output\yubidata.files\2021011
|
305
|
+
nn.load_parameters('C:\Users\username\Desktop\output\yubidata.files\20210113_161413\results.nnp')
|
306
306
|
|
307
307
|
print("load model")
|
308
308
|
|
3
新しいエラー
test
CHANGED
File without changes
|
test
CHANGED
@@ -52,7 +52,7 @@
|
|
52
52
|
|
53
53
|
File "C:\Users\username\Desktop\output\capture.py", line 85, in <module>
|
54
54
|
|
55
|
-
nn.load_parameters('C:\Users\n
|
55
|
+
nn.load_parameters('C:\Users\username\Desktop\output\yubidata.files\20210113_161413\results.nnp')
|
56
56
|
|
57
57
|
|
58
58
|
|
2
新しいエラー
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
#エラー文
|
16
16
|
|
17
|
-
runfile('C:/Users/n
|
17
|
+
runfile('C:/Users/username/Desktop/output/capture.py', wdir='C:/Users/username/Desktop/output')
|
18
18
|
|
19
19
|
2021-01-13 16:39:22,969 [nnabla][INFO]: Initializing CPU extension...
|
20
20
|
|
1
新しいエラー
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,60 +14,114 @@
|
|
14
14
|
|
15
15
|
#エラー文
|
16
16
|
|
17
|
+
runfile('C:/Users/nogamitakuma/Desktop/output/capture.py', wdir='C:/Users/nogamitakuma/Desktop/output')
|
18
|
+
|
19
|
+
2021-01-13 16:39:22,969 [nnabla][INFO]: Initializing CPU extension...
|
20
|
+
|
21
|
+
2021-01-13 16:39:26,948 [nnabla][INFO]: DataSource with shuffle(False)
|
22
|
+
|
23
|
+
2021-01-13 16:39:26,950 [nnabla][INFO]: Using DataSourceWithFileCache
|
24
|
+
|
25
|
+
2021-01-13 16:39:26,950 [nnabla][INFO]: DataSource with shuffle(False)
|
26
|
+
|
27
|
+
2021-01-13 16:39:26,951 [nnabla][INFO]: Cache Directory is None
|
28
|
+
|
29
|
+
2021-01-13 16:39:26,951 [nnabla][INFO]: Cache size is 100
|
30
|
+
|
31
|
+
2021-01-13 16:39:26,952 [nnabla][INFO]: Num of thread is 10
|
32
|
+
|
33
|
+
2021-01-13 16:39:26,953 [nnabla][INFO]: Cache file format is .npy
|
34
|
+
|
35
|
+
2021-01-13 16:39:26,956 [nnabla][INFO]: Tempdir for cache C:\Users\NOGAMI~1\AppData\Local\Temp\tmpnhsqprkl created.
|
36
|
+
|
37
|
+
2021-01-13 16:39:26,972 [nnabla][INFO]: Creating cache file C:\Users\NOGAMI~1\AppData\Local\Temp\tmpnhsqprkl\cache_00000000_00000000.npy
|
38
|
+
|
39
|
+
2021-01-13 16:39:26,981 [nnabla][INFO]: Using DataSourceWithMemoryCache
|
40
|
+
|
41
|
+
2021-01-13 16:39:26,981 [nnabla][INFO]: DataSource with shuffle(False)
|
42
|
+
|
43
|
+
2021-01-13 16:39:26,984 [nnabla][INFO]: On-memory
|
44
|
+
|
45
|
+
2021-01-13 16:39:26,984 [nnabla][INFO]: Using DataIterator
|
46
|
+
|
47
|
+
2021-01-13 16:39:26,987 [nnabla][INFO]: Parameter load (<built-in function format>): C:\Users\username\Desktop\output\yubidata.files\20210113_161413\results.nnp
|
48
|
+
|
49
|
+
Traceback (most recent call last):
|
50
|
+
|
51
|
+
|
52
|
+
|
17
|
-
File "C:\Users\username\Desktop\output\capture.py", line
|
53
|
+
File "C:\Users\username\Desktop\output\capture.py", line 85, in <module>
|
54
|
+
|
18
|
-
|
55
|
+
nn.load_parameters('C:\Users\nogamitakuma\Desktop\output\yubidata.files\20210113_161413\results.nnp')
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
File "C:\Users\username\anaconda3\lib\site-packages\nnabla\parameter.py", line 401, in load_parameters
|
60
|
+
|
61
|
+
with get_file_handle_load(path, ext) as nnp:
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
File "C:\Users\username\anaconda3\lib\contextlib.py", line 113, in __enter__
|
66
|
+
|
19
|
-
|
67
|
+
return next(self.gen)
|
68
|
+
|
69
|
+
|
70
|
+
|
20
|
-
|
71
|
+
File "C:\Users\username\anaconda3\lib\site-packages\nnabla\utils\get_file_handle.py", line 25, in get_file_handle_load
|
72
|
+
|
21
|
-
|
73
|
+
f = zipfile.ZipFile(path, 'r')
|
22
|
-
|
74
|
+
|
75
|
+
|
76
|
+
|
23
|
-
File "C:\Users\username\
|
77
|
+
File "C:\Users\username\anaconda3\lib\zipfile.py", line 1250, in __init__
|
78
|
+
|
79
|
+
self.fp = io.open(file, filemode)
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
OSError: [Errno 22] Invalid argument: '\u202aC:\Users\username\Desktop\output\yubidata.files\20210113_161413\results.nnp'
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
#プログラム
|
88
|
+
|
89
|
+
```python
|
90
|
+
|
91
|
+
import nnabla as nn
|
92
|
+
|
93
|
+
import nnabla.functions as F
|
94
|
+
|
95
|
+
import nnabla.parametric_functions as PF
|
96
|
+
|
97
|
+
from nnabla.utils.data_iterator import data_iterator_csv_dataset
|
98
|
+
|
99
|
+
import os
|
100
|
+
|
101
|
+
import cv2
|
102
|
+
|
103
|
+
from datetime import datetime
|
104
|
+
|
105
|
+
import pandas as pd
|
106
|
+
|
107
|
+
import matplotlib.pyplot as plt
|
108
|
+
|
109
|
+
import numpy as np
|
110
|
+
|
111
|
+
from PIL import Image
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
def network(x, y, test=False):
|
118
|
+
|
119
|
+
# Input:x -> 3,250,250
|
120
|
+
|
121
|
+
# BinaryConnectAffine -> 100
|
24
122
|
|
25
123
|
h = PF.binary_connect_affine(x, name='BinaryConnectAffine')
|
26
124
|
|
27
|
-
|
28
|
-
|
29
|
-
TypeError: binary_connect_affine() missing 1 required positional argument: 'n_outmaps'
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
#プログラム
|
34
|
-
|
35
|
-
```python
|
36
|
-
|
37
|
-
import nnabla as nn
|
38
|
-
|
39
|
-
import nnabla.functions as F
|
40
|
-
|
41
|
-
import nnabla.parametric_functions as PF
|
42
|
-
|
43
|
-
from nnabla.utils.data_iterator import data_iterator_csv_dataset
|
44
|
-
|
45
|
-
import os
|
46
|
-
|
47
|
-
import cv2
|
48
|
-
|
49
|
-
from datetime import datetime
|
50
|
-
|
51
|
-
import pandas as pd
|
52
|
-
|
53
|
-
import matplotlib.pyplot as plt
|
54
|
-
|
55
|
-
import numpy as np
|
56
|
-
|
57
|
-
from PIL import Image
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
def network(x, y, test=False):
|
64
|
-
|
65
|
-
# Input:x -> 3,250,250
|
66
|
-
|
67
|
-
# BinaryConnectAffine -> 100
|
68
|
-
|
69
|
-
h = PF.binary_connect_affine(x, name='BinaryConnectAffine')
|
70
|
-
|
71
125
|
# BatchNormalization
|
72
126
|
|
73
127
|
h = PF.batch_normalization(h, (1,), 0.9, 0.0001, not test, name='BatchNormalization')
|