I’m getting this error
ImportError: cannot import name ‘estimator’ from ‘tensorflow.compat.v1’ (/root/.local/lib/python3.10/site-packages/tensorflow/_api/v2/compat/v1/init.py)
when i try to run this code
python Tensorflowmodelsresearchobject_detectionmodel_main_tf2.py –model_dir=Tensorflowworkspacemodelsmy_ssd_mobnet –pipeline_config_path=Tensorflowworkspacemodelsmy_ssd_mobnetpipeline.config –num_train_steps=10000
when i try to run this code
python Tensorflowmodelsresearchobject_detectionmodel_main_tf2.py –model_dir=Tensorflowworkspacemodelsmy_ssd_mobnet –pipeline_config_path=Tensorflowworkspacemodelsmy_ssd_mobnetpipeline.config –num_train_steps=10000
Mohith Kuruba is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.