-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Hi @CasiaFan @wulungching,
My tensorflow version is 1.14.0 binary.
1 - I modify the model.builder.py to :
SSD_FEATURE_EXTRACTOR_CLASS_MAP = {
'ssd_efficientnet': SSDEfficientNetFeatureExtractor,
'ssd_efficientnet_fpn': SSDEfficientNetFPNFeatureExtractor,
......
2 - Put efficientnet.py and efficient_feature_extractor.py under object_detection/models directory
3- replace your ssd.proto with orginal ssd.proto
4.1 - when I run protoc object_detection/protos/ssd.proto --python_out=. I got this output:
object_detection/protos/ssd.proto:164:3: Expected "required", "optional", or "repeated".
object_detection/protos/ssd.proto:164:12: Expected field name.
4.2 - when I run ./bin/protoc object_detection/protos/*.proto --python_out=.
,It's OK and I didn't got anythings.
5- I modify original ssd_resnet50_v1_fpn_shared_box_predictor_640x640_coco14_sync.config to accordingly to your modification above. https://github.com/CasiaFan/SSD_EfficientNet/issues/2
6- when I run python3 model_main.py –alsologtostderr
, I got this error:
self._MergeField(tokenizer, sub_message)
File "/home/mm/.venv/lib/python3.5/site-packages/google/protobuf/text_format.py", line 730, in _MergeField
(message_descriptor.full_name, name))
google.protobuf.text_format.ParseError: 12:7 : Message type "object_detection.protos.SsdFeatureExtractor" has no field named "network_version".
then I comment the network_version in config file and run python3 model_main.py –alsologtostderr
, I got this error :
File "/home/mm/.venv/lib/python3.5/site-packages/google/protobuf/text_format.py", line 730, in _MergeField
(message_descriptor.full_name, name))
google.protobuf.text_format.ParseError: 13:7 : Message type "object_detection.protos.SsdFeatureExtractor" has no field named "min_feature_level".
when I run python object_detection/builders/model_builder_test.py
for testing, I didn't got any error and that's Ok.