質問編集履歴

3

タイトルの変更

2018/09/17 11:34

投稿

good_morning
good_morning

スコア61

test CHANGED
@@ -1 +1 @@
1
- tensorflow/modelsのCOCO API installationでエラー
1
+ python3.5と3.6に基づくtensorflowエラー
test CHANGED
File without changes

2

問題の更新。

2018/09/17 11:34

投稿

good_morning
good_morning

スコア61

test CHANGED
File without changes
test CHANGED
@@ -61,3 +61,43 @@
61
61
  これもよくわかりません。
62
62
 
63
63
  よろしくお願いします。
64
+
65
+
66
+
67
+ 上記質問も何とか自己解決できました。
68
+
69
+ しかし、次の問題が生じました。
70
+
71
+
72
+
73
+ python3.6 infer.py
74
+
75
+ /usr/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: compiletime version 3.5 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.6
76
+
77
+ return f(*args, **kwds)
78
+
79
+ Traceback (most recent call last):
80
+
81
+ File "infer.py", line 18, in <module>
82
+
83
+ serialized_graph = fid.read()
84
+
85
+ File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/lib/io/file_io.py", line 119, in read
86
+
87
+ self._preread_check()
88
+
89
+ File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/lib/io/file_io.py", line 79, in _preread_check
90
+
91
+ compat.as_bytes(self.__name), 1024 * 512, status)
92
+
93
+ File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/errors_impl.py", line 473, in __exit__
94
+
95
+ c_api.TF_GetCode(self.status.status))
96
+
97
+ tensorflow.python.framework.errors_impl.NotFoundError: mask_rcnn_inception_resnet_v2_atrous_coco_2018_01_28/frozen_inference_graph.pb; No such file or directory
98
+
99
+
100
+
101
+ 単なる3.5と3.6との違いとは異なるようです。
102
+
103
+ よろしくお願いします。

1

次の質問です。

2018/09/17 11:28

投稿

good_morning
good_morning

スコア61

test CHANGED
File without changes
test CHANGED
@@ -35,3 +35,29 @@
35
35
  この「<path_to_tensorflow>/models/research/」とは一体どこを指すのでしょうか。
36
36
 
37
37
  知見のある方、よろしくお願いします。
38
+
39
+
40
+
41
+ 上記問題は、自己解決しました。
42
+
43
+ 次の問題が発生しました。
44
+
45
+ protocコマンドのエラーです。
46
+
47
+
48
+
49
+ $ protoc object_detection/protos/*.proto --python_out=.
50
+
51
+ object_detection/protos/ssd.proto:104:3: Expected "required", "optional", or "repeated".
52
+
53
+ object_detection/protos/ssd.proto:104:12: Expected field name.
54
+
55
+ object_detection/protos/model.proto: Import "object_detection/protos/ssd.proto" was not found or had errors.
56
+
57
+ object_detection/protos/model.proto:12:5: "Ssd" is not defined.
58
+
59
+
60
+
61
+ これもよくわかりません。
62
+
63
+ よろしくお願いします。