tensorflow / tensorflow/models

faster_rcnn_resnet101 is not supported.

Open
#8,763 8 comments 0 reactions 3 assignees View on GitHub

@pkulzc is already working on this.

Since Jul 1, 2020.

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

Description

Prerequisites

Tensorflow version I am using is 1.15.2
Using google colab

When I started training, by the command
!python3 train.py --logtostderr --train_dir=../training --pipeline_config_path=../training/faster_rcnn_resnet101_coco.config

Got error
Use object_detection/model_main.py. Traceback (most recent call last): File "train.py", line 186, in <module> tf.app.run() File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/platform/app.py", line 40, in run _run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef) File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 299, in run _run_main(main, args) File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 250, in _run_main sys.exit(main(argv)) File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/util/deprecation.py", line 324, in new_func return func(*args, **kwargs) File "train.py", line 182, in main graph_hook_fn=graph_rewriter_fn) File "/content/models/research/object_detection/legacy/trainer.py", line 248, in train detection_model = create_model_fn() File "/content/models/research/object_detection/builders/model_builder.py", line 957, in build add_summaries) File "/content/models/research/object_detection/builders/model_builder.py", line 517, in _build_faster_rcnn_model _check_feature_extractor_exists(frcnn_config.feature_extractor.type) File "/content/models/research/object_detection/builders/model_builder.py", line 215, in _check_feature_extractor_exists 'Tensorflow'.format(feature_extractor_type)) ValueError: faster_rcnn_resnet101 is not supported. See model_builder.py for features extractors compatible with different versions of Tensorflow

I tried different models than and getting the same error again and again.

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.