Skip to content

The dimensions of the parameters of the trained and tested models do not match #21

Open

Description

@DanZhang123

hello:
Since I'm new to this, I have a problem with testing the pascal VOC --> clipart and don,t know where to start:

    While copying the parameter named "RCNN_cls_score.weight", whose dimensions in the model are torch.Size([21, 4224]) and whose dimensions in the checkpoint are torch.Size([21, 4096]).
    While copying the parameter named "RCNN_bbox_pred.weight", whose dimensions in the model are torch.Size([84, 4224]) and whose dimensions in the checkpoint are torch.Size([84, 4096]).

Looking forward to your reply. Thank you very much.

Activity

  1. mrbulb commented on May 14, 2020

    @mrbulb

    @DanZhang123 hello, have you solved this problem?

  2. ygzhu commented on Dec 19, 2020

    @ygzhu

    hello, how do you solve this problem?

  3. ygzhu commented on Dec 19, 2020

    @ygzhu

    hello, how do you solve this problem?

    ok,while you run the script
    CUDA_VISIBLE_DEVICES=$GPU_ID python test_net_global_local.py \ --dataset target_dataset --net vgg16 \ --cuda --lc --gc --load_name path_to_model
    remove --ls --gc, it will work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions