You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "D:/python/code/deeplearning/Deep-Learning-21-Examples-master/chapter_5/research/object_detection/builders/model_builder_test.py", line 329, in test_create_faster_rcnn_inception_resnet_v2_model_from_config
model = model_builder.build(model_proto, is_training=True)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 76, in build
return _build_faster_rcnn_model(model_config.faster_rcnn, is_training)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 217, in _build_faster_rcnn_model
first_stage_only = frcnn_config.first_stage_only
AttributeError: first_stage_only
Traceback (most recent call last):
File "D:/python/code/deeplearning/Deep-Learning-21-Examples-master/chapter_5/research/object_detection/builders/model_builder_test.py", line 388, in test_create_faster_rcnn_model_from_config_with_example_miner
model = model_builder.build(model_proto, is_training=True)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 76, in build
return _build_faster_rcnn_model(model_config.faster_rcnn, is_training)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 217, in _build_faster_rcnn_model
first_stage_only = frcnn_config.first_stage_only
AttributeError: first_stage_only
Traceback (most recent call last):
File "D:/python/code/deeplearning/Deep-Learning-21-Examples-master/chapter_5/research/object_detection/builders/model_builder_test.py", line 264, in test_create_faster_rcnn_resnet_v1_models_from_config
model = model_builder.build(model_proto, is_training=True)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 76, in build
return _build_faster_rcnn_model(model_config.faster_rcnn, is_training)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 217, in _build_faster_rcnn_model
first_stage_only = frcnn_config.first_stage_only
AttributeError: first_stage_only
Traceback (most recent call last):
File "D:/python/code/deeplearning/Deep-Learning-21-Examples-master/chapter_5/research/object_detection/builders/model_builder_test.py", line 454, in test_create_rfcn_resnet_v1_model_from_config
model = model_builder.build(model_proto, is_training=True)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 76, in build
return _build_faster_rcnn_model(model_config.faster_rcnn, is_training)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 217, in _build_faster_rcnn_model
first_stage_only = frcnn_config.first_stage_only
AttributeError: first_stage_only
Traceback (most recent call last):
File "D:/python/code/deeplearning/Deep-Learning-21-Examples-master/chapter_5/research/object_detection/builders/model_builder_test.py", line 125, in test_create_ssd_inception_v2_model_from_config
model = self.create_model(model_proto)
File "D:/python/code/deeplearning/Deep-Learning-21-Examples-master/chapter_5/research/object_detection/builders/model_builder_test.py", line 57, in create_model
return model_builder.build(model_config, is_training=True)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 74, in build
return _build_ssd_model(model_config.ssd, is_training)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 127, in _build_ssd_model
is_training)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 106, in _build_ssd_feature_extractor
reuse_weights)
TypeError: init() missing 1 required positional argument: 'conv_hyperparams_fn'
Traceback (most recent call last):
File "D:/python/code/deeplearning/Deep-Learning-21-Examples-master/chapter_5/research/object_detection/builders/model_builder_test.py", line 196, in test_create_ssd_mobilenet_v1_model_from_config
model = self.create_model(model_proto)
File "D:/python/code/deeplearning/Deep-Learning-21-Examples-master/chapter_5/research/object_detection/builders/model_builder_test.py", line 57, in create_model
return model_builder.build(model_config, is_training=True)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 74, in build
return _build_ssd_model(model_config.ssd, is_training)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 127, in _build_ssd_model
is_training)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 106, in _build_ssd_feature_extractor
reuse_weights)
TypeError: init() missing 1 required positional argument: 'conv_hyperparams_fn'
[ RUN ] ModelBuilderTest.test_create_faster_rcnn_inception_resnet_v2_model_from_config
INFO:tensorflow:time(main.ModelBuilderTest.test_create_faster_rcnn_inception_resnet_v2_model_from_config): 0.0s
I1008 16:53:06.772712 1116 test_util.py:1973] time(main.ModelBuilderTest.test_create_faster_rcnn_inception_resnet_v2_model_from_config): 0.0s
[ FAILED ] ModelBuilderTest.test_create_faster_rcnn_inception_resnet_v2_model_from_config
[ RUN ] ModelBuilderTest.test_create_faster_rcnn_model_from_config_with_example_miner
INFO:tensorflow:time(main.ModelBuilderTest.test_create_faster_rcnn_model_from_config_with_example_miner): 0.0s
I1008 16:53:06.774710 1116 test_util.py:1973] time(main.ModelBuilderTest.test_create_faster_rcnn_model_from_config_with_example_miner): 0.0s
[ FAILED ] ModelBuilderTest.test_create_faster_rcnn_model_from_config_with_example_miner
[ RUN ] ModelBuilderTest.test_create_faster_rcnn_resnet_v1_models_from_config
INFO:tensorflow:time(main.ModelBuilderTest.test_create_faster_rcnn_resnet_v1_models_from_config): 0.0s
I1008 16:53:06.777708 1116 test_util.py:1973] time(main.ModelBuilderTest.test_create_faster_rcnn_resnet_v1_models_from_config): 0.0s
[ FAILED ] ModelBuilderTest.test_create_faster_rcnn_resnet_v1_models_from_config
[ RUN ] ModelBuilderTest.test_create_rfcn_resnet_v1_model_from_config
INFO:tensorflow:time(main.ModelBuilderTest.test_create_rfcn_resnet_v1_model_from_config): 0.0s
I1008 16:53:06.778707 1116 test_util.py:1973] time(main.ModelBuilderTest.test_create_rfcn_resnet_v1_model_from_config): 0.0s
[ FAILED ] ModelBuilderTest.test_create_rfcn_resnet_v1_model_from_config
[ RUN ] ModelBuilderTest.test_create_ssd_inception_v2_model_from_config
INFO:tensorflow:time(main.ModelBuilderTest.test_create_ssd_inception_v2_model_from_config): 0.0s
I1008 16:53:06.780707 1116 test_util.py:1973] time(main.ModelBuilderTest.test_create_ssd_inception_v2_model_from_config): 0.0s
[ FAILED ] ModelBuilderTest.test_create_ssd_inception_v2_model_from_config
[ RUN ] ModelBuilderTest.test_create_ssd_mobilenet_v1_model_from_config
INFO:tensorflow:time(main.ModelBuilderTest.test_create_ssd_mobilenet_v1_model_from_config): 0.0s
I1008 16:53:06.781706 1116 test_util.py:1973] time(main.ModelBuilderTest.test_create_ssd_mobilenet_v1_model_from_config): 0.0s
[ FAILED ] ModelBuilderTest.test_create_ssd_mobilenet_v1_model_from_config
[ RUN ] ModelBuilderTest.test_session
[ SKIPPED ] ModelBuilderTest.test_session
ERROR: test_create_faster_rcnn_inception_resnet_v2_model_from_config (main.ModelBuilderTest)
test_create_faster_rcnn_inception_resnet_v2_model_from_config (main.ModelBuilderTest)
Traceback (most recent call last):
File "D:/python/code/deeplearning/Deep-Learning-21-Examples-master/chapter_5/research/object_detection/builders/model_builder_test.py", line 329, in test_create_faster_rcnn_inception_resnet_v2_model_from_config
model = model_builder.build(model_proto, is_training=True)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 76, in build
return _build_faster_rcnn_model(model_config.faster_rcnn, is_training)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 217, in _build_faster_rcnn_model
first_stage_only = frcnn_config.first_stage_only
AttributeError: first_stage_only
======================================================================
ERROR: test_create_faster_rcnn_model_from_config_with_example_miner (main.ModelBuilderTest)
test_create_faster_rcnn_model_from_config_with_example_miner (main.ModelBuilderTest)
Traceback (most recent call last):
File "D:/python/code/deeplearning/Deep-Learning-21-Examples-master/chapter_5/research/object_detection/builders/model_builder_test.py", line 388, in test_create_faster_rcnn_model_from_config_with_example_miner
model = model_builder.build(model_proto, is_training=True)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 76, in build
return _build_faster_rcnn_model(model_config.faster_rcnn, is_training)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 217, in _build_faster_rcnn_model
first_stage_only = frcnn_config.first_stage_only
AttributeError: first_stage_only
======================================================================
ERROR: test_create_faster_rcnn_resnet_v1_models_from_config (main.ModelBuilderTest)
test_create_faster_rcnn_resnet_v1_models_from_config (main.ModelBuilderTest)
Traceback (most recent call last):
File "D:/python/code/deeplearning/Deep-Learning-21-Examples-master/chapter_5/research/object_detection/builders/model_builder_test.py", line 264, in test_create_faster_rcnn_resnet_v1_models_from_config
model = model_builder.build(model_proto, is_training=True)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 76, in build
return _build_faster_rcnn_model(model_config.faster_rcnn, is_training)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 217, in _build_faster_rcnn_model
first_stage_only = frcnn_config.first_stage_only
AttributeError: first_stage_only
======================================================================
ERROR: test_create_rfcn_resnet_v1_model_from_config (main.ModelBuilderTest)
test_create_rfcn_resnet_v1_model_from_config (main.ModelBuilderTest)
Traceback (most recent call last):
File "D:/python/code/deeplearning/Deep-Learning-21-Examples-master/chapter_5/research/object_detection/builders/model_builder_test.py", line 454, in test_create_rfcn_resnet_v1_model_from_config
model = model_builder.build(model_proto, is_training=True)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 76, in build
return _build_faster_rcnn_model(model_config.faster_rcnn, is_training)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 217, in _build_faster_rcnn_model
first_stage_only = frcnn_config.first_stage_only
AttributeError: first_stage_only
======================================================================
ERROR: test_create_ssd_inception_v2_model_from_config (main.ModelBuilderTest)
test_create_ssd_inception_v2_model_from_config (main.ModelBuilderTest)
Traceback (most recent call last):
File "D:/python/code/deeplearning/Deep-Learning-21-Examples-master/chapter_5/research/object_detection/builders/model_builder_test.py", line 125, in test_create_ssd_inception_v2_model_from_config
model = self.create_model(model_proto)
File "D:/python/code/deeplearning/Deep-Learning-21-Examples-master/chapter_5/research/object_detection/builders/model_builder_test.py", line 57, in create_model
return model_builder.build(model_config, is_training=True)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 74, in build
return _build_ssd_model(model_config.ssd, is_training)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 127, in _build_ssd_model
is_training)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 106, in _build_ssd_feature_extractor
reuse_weights)
TypeError: init() missing 1 required positional argument: 'conv_hyperparams_fn'
======================================================================
ERROR: test_create_ssd_mobilenet_v1_model_from_config (main.ModelBuilderTest)
test_create_ssd_mobilenet_v1_model_from_config (main.ModelBuilderTest)
Traceback (most recent call last):
File "D:/python/code/deeplearning/Deep-Learning-21-Examples-master/chapter_5/research/object_detection/builders/model_builder_test.py", line 196, in test_create_ssd_mobilenet_v1_model_from_config
model = self.create_model(model_proto)
File "D:/python/code/deeplearning/Deep-Learning-21-Examples-master/chapter_5/research/object_detection/builders/model_builder_test.py", line 57, in create_model
return model_builder.build(model_config, is_training=True)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 74, in build
return _build_ssd_model(model_config.ssd, is_training)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 127, in _build_ssd_model
is_training)
File "D:\python\code\deeplearning\Deep-Learning-21-Examples-master\chapter_5\research\object_detection\builders\model_builder.py", line 106, in _build_ssd_feature_extractor
reuse_weights)
TypeError: init() missing 1 required positional argument: 'conv_hyperparams_fn'
Ran 7 tests in 0.012s
FAILED (errors=6, skipped=1)
报错内容如上所示,我在网上看到别人说出现这种原因是因为python2语言在python3版本上有不兼容的地方所以报的错,我的配置如下:
tensorflow 2.3
python 3.7
有没有人会解决这种问题?谢谢了
The text was updated successfully, but these errors were encountered: