Skip to content

Unexpected key(s) in state_dict: "feature_align.layers.0.weight", "feature_align.layers.0.bias", "feature_align.layers.1.weight", "feature_align.layers.1.bias", "patch2query.weight", "patch2query.bias".  #29

@Zoeun

Description

@Zoeun

excuse me, I Fine-tuning in own dataset and evaluation

This is mine warning after evaluation in pycharm(win 10),pytorch==1.12.1,torchvision==0.13.1,cuda==11.7,3070ti

Unexpected key(s) in state_dict: "feature_align.layers.0.weight", "feature_align.layers.0.bias", "feature_align.layers.1.weight", "feature_align.layers.1.bias", "patch2query.weight", "patch2query.bias".

I dont know how to solve this problem.I tested the following methods
1.pop this weight and bias before the Fine-tuning,but the evaluation result is 0,yes ,all IOU is 0 .
2.pop pop this weight and bias after the Fine-tuning,all IOU is 0 .

Please give me some advice

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions