消息类型 "object_detection.protos.DetectionModel" 没有名为 "center_net" 的字段
我正在尝试从 centernet_modelnetv2_fpn_512x512_coco17_od 模型中进行训练,但我收到了以下错误: 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 神经网络 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',) 追踪到以下错误: File "/home/server/Tensorflow/workspace/training/model_main_tf2.py", line 114, in 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
内容来源: tensorflow/models