tensorflow / tensorflow/models

ssd_resnet50_v1_fpn_keras is not supported. See `model_builder.py` for features extractors compatible with different versions of Tensorflow

Open
#10,284 0 comments 0 reactions 3 assignees View on GitHub

@pkulzc is already working on this.

Since Oct 1, 2021.

models:research:odapi type:bug
Dominant language
Python
Stars
77.7k
Forks
44.8k
PR merge metrics
No merged PRs in 30d

Description

I am using the latest TensorFlow Model Garden release and TensorFlow 2.5.0
I am reporting the issue to the research directory

https://github.com/tensorflow/models/tree/master/research

Describe the bug

when I run the following command for test instalation, i got error
python object_detection/builders/model_builder_tf2_test.py

Additional context

====================================================================== ERROR: test_create_ssd_fpn_model_from_config (__main__.ModelBuilderTF2Test) ModelBuilderTF2Test.test_create_ssd_fpn_model_from_config ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\Users\Amir\anaconda3\envs\t2od\lib\site-packages\object_detection\builders\model_builder_test.py", line 220, in test_create_ssd_fpn_model_from_config model = model_builder.build(model_proto, is_training=True) File "C:\Users\Amir\anaconda3\envs\t2od\lib\site-packages\object_detection\builders\model_builder.py", line 1229, in build return build_func(getattr(model_config, meta_architecture), is_training, File "C:\Users\Amir\anaconda3\envs\t2od\lib\site-packages\object_detection\builders\model_builder.py", line 391, in _build_ssd_model _check_feature_extractor_exists(ssd_config.feature_extractor.type) File "C:\Users\Amir\anaconda3\envs\t2od\lib\site-packages\object_detection\builders\model_builder.py", line 263, in _check_feature_extractor_exists raise ValueError('{} is not supported. See model_builder.pyfor features ' ValueError: ssd_resnet50_v1_fpn_keras is not supported. Seemodel_builder.pyfor features extractors compatible with different versions of Tensorflow ---------------------------------------------------------------------- Ran 24 tests in 20.619s FAILED (errors=1, skipped=1)

System information

  • Windows 10:
  • TensorFlow version: 2.5.0
  • Python version: 3.8.12
  • Bazel version (if compiling from source):
  • GCC/Compiler version (if compiling from source):
  • CUDA/cuDNN version: CUDA=11.2 cudnn=8.1
  • GPU model and memory: GTX1660 ti

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.