Skip to content

_feature_extractor from faster-rcnn_resnet is not a trackable object. Impossible to get Weights restored. #10869

Open
@jjuanvision

Description

@jjuanvision

I'm trying to restore the weights via checkpoint. The issue that I come across is that the _feature_extractor is not a trackable object.

tf.train.Checkpoint(_feature_extractor=detection_model._feature_extractor). This just happens with the faster rcnn meta architecture as opposite with the ssd one.

After that, I tried to restore the weights just for the prediction heads (box head and class ones). I'm able to do that but then I have another issue with initializing the variables by passing dummy images.

The environment is the same as the google colab Object Detection API Colab TF2.

Thanks in advance!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions