Skip to content
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

Error when changing pretrained model to other pretrained model #155

Open
ck12780 opened this issue Jan 3, 2024 · 1 comment
Open

Error when changing pretrained model to other pretrained model #155

ck12780 opened this issue Jan 3, 2024 · 1 comment

Comments

@ck12780
Copy link

ck12780 commented Jan 3, 2024

Hi there, i have face issue when changing to other pretrained model
Tensorflow: 2.10.1
Python :3.10.0
Pretrained model: faster_rcnn_inception_resnet_v2_640x640_coco17_tpu-8
Link: http://download.tensorflow.org/models/object_detection/tf2/20200711/faster_rcnn_inception_resnet_v2_640x640_coco17_tpu-8.tar.gz
When I run training as code below
TRAINING_SCRIPT = os.path.join(paths['APIMODEL_PATH'], 'research', 'object_detection', 'model_main_tf2.py') command = "python {} --model_dir={} --pipeline_config_path={} --num_train_steps=2000".format(TRAINING_SCRIPT, paths['CHECKPOINT_PATH'],files['PIPELINE_CONFIG'])
It show error like this
ValueError: is not supported for tf version 2. See model_builder.py for features extractors compatible with different versions of Tensorflow
Is there anyone know how to solve this

@sabbir2609
Copy link

The instruction in the error is clear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants