Skip to content

Runtime error in extract_mrcn_det_feats.py #39

Description

@asanganuwan

It gives a runtime error when I run the command
CUDA_VISIBLE_DEVICES=gpu_id python tools/extract_mrcn_det_feats.py --dataset refcoco --splitBy unc.
***` RuntimeError: Dimension out of range (expected to be in range of [-2, 1], but got 3)

Error corresponds to line #59 fc7 = fc7.mean(3).mean(2)

When I debug the code, in line 58, fc7 is a tensor with the dimensions of [1,2048].

@lichengunc I kindly request your help with this issue. I am not sure whether I am doing anything wrong here.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions