Message type "object_detection.protos.DetectionModel" has no field named "center_net"
@DeborahOlaboye がすでに取り組んでいます。
2026年1月26日 から。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- python, tensorflow
調査の方向性
model_main_tf2.py が使用するパイプライン設定と、object_detection/model_lib_v2.py および object_detection/utils/config_util.py を通る traceback の経路から始めます。centernet_modelnetv2_fpn_512x512_coco17_od に使用されている設定を、インストール済みパッケージで利用可能な DetectionModel フィールドと比較します。設定が報告されたフィールドエラーなしで解析され、トレーニングが次の段階に到達すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I am trying to train from centernet_modelnetv2_fpn_512x512_coco17_od model but I am getting this error:
WARNING:tensorflow:From /home/server/miniforge3/envs/iBoard/lib/python3.9/site-packages/tensorflow/python/compat/v2_compat.py:101: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version. Instructions for updating: non-resource variables are not supported in the long term 2025-01-02 21:00:02.368810: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory 2025-01-02 21:00:02.368888: W tensorflow/stream_executor/cuda/cuda_driver.cc:269] failed call to cuInit: UNKNOWN ERROR (303) 2025-01-02 21:00:02.368943: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (server): /proc/driver/nvidia/version does not exist 2025-01-02 21:00:02.369919: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: SSE4.1 SSE4.2 To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags. WARNING:tensorflow:There are non-GPU devices in tf.distribute.Strategy, not using nccl allreduce. W0102 21:00:02.374615 140292573689664 cross_device_ops.py:1387] There are non-GPU devices in tf.distribute.Strategy, not using nccl allreduce. INFO:tensorflow:Using MirroredStrategy with devices ('/replica:0/task:0/device:CPU:0',) I0102 21:00:02.379850 140292573689664 mirrored_strategy.py:369] Using MirroredStrategy with devices ('/replica:0/task:0/device:CPU:0',) Traceback (most recent call last): File "/home/server/Tensorflow/workspace/training/model_main_tf2.py", line 114, in <module> tf.compat.v1.app.run() File "/home/server/miniforge3/envs/iBoard/lib/python3.9/site-packages/tensorflow/python/platform/app.py", line 40, in run _run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef) File "/home/server/miniforge3/envs/iBoard/lib/python3.9/site-packages/absl/app.py", line 312, in run _run_main(main, args) File "/home/server/miniforge3/envs/iBoard/lib/python3.9/site-packages/absl/app.py", line 258, in _run_main sys.exit(main(argv)) File "/home/server/Tensorflow/workspace/training/model_main_tf2.py", line 105, in main model_lib_v2.train_loop( File "/home/server/miniforge3/envs/iBoard/lib/python3.9/site-packages/object_detection/model_lib_v2.py", line 505, in train_loop configs = get_configs_from_pipeline_file( File "/home/server/miniforge3/envs/iBoard/lib/python3.9/site-packages/object_detection/utils/config_util.py", line 98, in get_configs_from_pipeline_file text_format.Merge(proto_str, pipeline_config) File "/home/server/miniforge3/envs/iBoard/lib/python3.9/site-packages/google/protobuf/text_format.py", line 719, in Merge return MergeLines( File "/home/server/miniforge3/envs/iBoard/lib/python3.9/site-packages/google/protobuf/text_format.py", line 793, in MergeLines return parser.MergeLines(lines, message) File "/home/server/miniforge3/envs/iBoard/lib/python3.9/site-packages/google/protobuf/text_format.py", line 818, in MergeLines self._ParseOrMerge(lines, message) File "/home/server/miniforge3/envs/iBoard/lib/python3.9/site-packages/google/protobuf/text_format.py", line 837, in _ParseOrMerge self._MergeField(tokenizer, message) File "/home/server/miniforge3/envs/iBoard/lib/python3.9/site-packages/google/protobuf/text_format.py", line 967, in _MergeField merger(tokenizer, message, field) File "/home/server/miniforge3/envs/iBoard/lib/python3.9/site-packages/google/protobuf/text_format.py", line 1042, in _MergeMessageField self._MergeField(tokenizer, sub_message) File "/home/server/miniforge3/envs/iBoard/lib/python3.9/site-packages/google/protobuf/text_format.py", line 932, in _MergeField raise tokenizer.ParseErrorPreviousToken( google.protobuf.text_format.ParseError: 2:3 : Message type "object_detection.protos.DetectionModel" has no field named "center_net".
OS: Debian 12
Tensorflow 2.x
Miniforge3
Pls help me, Thank you
- 主要言語
- Python
- スター
- 77.6k
- フォーク
- 44.8k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
tensorflow/models のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
tensorflow/models#13653 ·
-
object_detection_tutorial.ipynb pretrained model "resnet50 imagenet"再び着手できるかも @laxmareddyp が 202 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンtype:support
tensorflow/models#13634 · コメント 2 件 · リアクション 1 件 · 担当者 1 名 ·
-
Tag version compatible with Tensorflow 2.20再び着手できるかも @bharatjetti が 276 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンmodels:official type:bug
tensorflow/models#13607 · コメント 1 件 · 担当者 1 名 ·
-
models:research type:feature
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
tensorflow/models#13600 ·
-
Installation Issues on Python 3.13再び着手できるかも @bharatjetti が 245 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンmodels:official type:bug
tensorflow/models#13587 · コメント 9 件 · 担当者 1 名 ·
tensorflow/models の issue をすべて見る
似ている issue
-
`destroy` sans terminal répond « Aborted. » au lieu de réclamer `--yes` comme `clean` et `reset`オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
stephrobert/dsoxlab#354 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
jasonacox/pypowerwall#472 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: DoubleMLRDDData accepts a score_col that is no data column (as in its docstring example); the running variable then becomes a covariate and RDFlex fails対応中かも @vrjdev が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
DoubleML/doubleml-for-py#455 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: Python mod.Box[T] annotation gets a false generic_arg edge that replaces the parameter_type one ('is' on tree-sitter nodes)対応中かも @rohit-jsfreaky が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Graphify-Labs/graphify#5110 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
assafelovic/gpt-researcher#2277 ·
メンテナーはふだん 10 日以内に返信