質問編集履歴
2
新たなエラーが発生しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -107,3 +107,51 @@
|
|
107
107
|
|
108
108
|
|
109
109
|
```
|
110
|
+
|
111
|
+
新たなエラーが発生しました。
|
112
|
+
|
113
|
+
```python
|
114
|
+
|
115
|
+
Traceback (most recent call last):
|
116
|
+
|
117
|
+
File "generate_tfrecord.py", line 194, in <module>
|
118
|
+
|
119
|
+
tf.app.run()
|
120
|
+
|
121
|
+
File "C:\Users\rh731\anaconda3\lib\site-packages\tensorflow\python\platform\app.py", line 40,
|
122
|
+
|
123
|
+
in run
|
124
|
+
|
125
|
+
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
|
126
|
+
|
127
|
+
File "C:\Users\rh731\anaconda3\lib\site-packages\absl\app.py", line 303, in run
|
128
|
+
|
129
|
+
_run_main(main, args)
|
130
|
+
|
131
|
+
File "C:\Users\rh731\anaconda3\lib\site-packages\absl\app.py", line 251, in _run_main
|
132
|
+
|
133
|
+
sys.exit(main(argv))
|
134
|
+
|
135
|
+
File "generate_tfrecord.py", line 184, in main
|
136
|
+
|
137
|
+
tf_example = create_tf_example(group, path)
|
138
|
+
|
139
|
+
File "generate_tfrecord.py", line 137, in create_tf_example
|
140
|
+
|
141
|
+
encoded_jpg = fid.read()
|
142
|
+
|
143
|
+
File "C:\Users\rh731\anaconda3\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 11
|
144
|
+
|
145
|
+
7, in read
|
146
|
+
|
147
|
+
self._preread_check()
|
148
|
+
|
149
|
+
File "C:\Users\rh731\anaconda3\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 79
|
150
|
+
|
151
|
+
, in _preread_check
|
152
|
+
|
153
|
+
self._read_buf = _pywrap_file_io.BufferedInputStream(
|
154
|
+
|
155
|
+
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8e in position 147: invalid start byte
|
156
|
+
|
157
|
+
```
|
1
generate_tfrecord.pyのargs.labels_mapの表示結果を追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -93,3 +93,17 @@
|
|
93
93
|
https://github.com/tensorflow/models/issues/10035
|
94
94
|
|
95
95
|
https://github.com/tensorflow/tensorflow/issues/37950
|
96
|
+
|
97
|
+
###追記情報
|
98
|
+
|
99
|
+
generate_tfrecord.pyのargs.labels_mapの表示結果を追記しました。
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
```
|
104
|
+
|
105
|
+
C:\Users\rh731\PycharmProjects\TensorFlow\workspace\training_demo\annotations\label_map.pbtxt
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
```
|