Skip to content

ResNet50V1 classification checkpoint not loaded when training Faster-RCNN from scratch on custom dataset #9079

@ujjwal-ai

Description

@ujjwal-ai

I am trying to use this config file for training on a different dataset.

My tensorflow version is 2.3 (stable).

In order to use the classification checkpoint of ResNet50V1, I did the following:


import tensorflow as tf
model = tf.keras.applications.ResNet50(weights='imagenet')
checkpoint = tf.train.Checkpoint(model=model)
checkpoint.save(<CKPT_PATH>)

Then I provide the path to this checkpoint file in the config file. On running the training using model_main_tf2.py, I receive the same message as has been previously referenced in #8892 .

How can this issue be resolved ? Am I making a mistake here ?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions