-
Notifications
You must be signed in to change notification settings - Fork 45.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: module 'tensorflow.python.framework.op_def_registry' has no attribute 'register_op_list' #8972
Comments
versions i used : |
What is the top-level directory of the model you are using? Please, let us know which pretrained model you are using and share related code .Thanks! |
i am using the faster_rcnn_resnet152_v1_800x1333_coco17_gpu-8 pretrained model |
Copyright 2017 The TensorFlow Authors. All Rights Reserved.Licensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.==============================================================================r"""Training executable for detection models. This executable is used to train DetectionModels. There are two ways of
Example usage:
Example usage: import functools from object_detection.builders import dataset_builder tf.logging.set_verbosity(tf.logging.INFO) flags = tf.app.flags flags.DEFINE_string('pipeline_config_path', '', flags.DEFINE_string('train_config_path', '', FLAGS = flags.FLAGS @deprecated(None, 'Use object_detection/model_main.py.') model_config = configs['model'] model_fn = functools.partial( def get_next(config): create_input_dict_fn = functools.partial(get_next, input_config) env = json.loads(os.environ.get('TF_CONFIG', '{}')) Parameters for a single worker.ps_tasks = 0 if cluster_data and 'worker' in cluster_data: if worker_replicas > 1 and ps_tasks < 1: if worker_replicas >= 1 and ps_tasks > 0:
graph_rewriter_fn = None trainer.train( if name == 'main': |
python3 train.py --logtostderr --train_dir=checkpoints/ --pipeline_config_path=checkpoints/faster_rcnn_resnet152_v1_800x1333_coco17_gpu-8.config |
please help, |
Hi, the error is reported from a TensorFlow library instead of within Object API. Please check this issue tensorflow/tensorflow#34762. |
Closing this issue due to lack of activity. Please reopen this issue if you have further questions. Thanks! |
HELP! |
while running the train.py in thetensorflow 2.2 version i am getting this error
The text was updated successfully, but these errors were encountered: