KeyError "Non-existent config key: MODEL.BACKBONE.OUT_CHANNELS"

created at 08-26-2021 views: 79

When trying to extract visual features using vqa-maskrcnn-benchmark:Files · master · Vedanuj Goswami / vqa-maskrcnn-benchmark · GitLab,

After compiling maskrcnn-benchmark according to INSTALL instructions, run:

python script/extract_features.py ... 

An error occurred:

KeyError "Non-existent config key: MODEL.BACKBONE.OUT_CHANNELS"

reason and solution

The problem is: you don’t need to compile maskrcnn-benchmark, but compile setup.py under /vqa-maskrcnn-benchmark.

PS: The author made corresponding fine-tunings for the network structure and code. The structure in the original maskrcnn library does not correspond to config.

created at:08-26-2021
edited at: 08-26-2021: