UNITER icon indicating copy to clipboard operation
UNITER copied to clipboard

how to generate the image feature file?

Open wjy3326 opened this issue 3 years ago • 8 comments

I cannot find the code tools/generate_npz.py, i don't know how to generate the image feature file. Could you please upload your code? Thanks!

wjy3326 avatar Oct 23 '20 15:10 wjy3326

The same issue. Could you please upload your code? Thanks!

RalphHan avatar Oct 24 '20 16:10 RalphHan

+1

foxm79 avatar Nov 07 '20 14:11 foxm79

+1

floschne avatar Nov 09 '20 10:11 floschne

@ChenRocks Can you please explain how the image features are created? In the paper, you state that they're from Faster RCNN with ResNet 101 (2048 dim) and the 7-dim position vector but how exactly are they processed before stored in the lmdb?

floschne avatar Nov 11 '20 15:11 floschne

@linjieli222

floschne avatar Nov 11 '20 15:11 floschne

@RalphHan @abhinavm0 @wjy3326 checkout this issue: https://github.com/ChenRocks/UNITER/issues/18

floschne avatar Nov 17 '20 07:11 floschne

Thanks @floschne !! What a coincidence... just saw this yest morning myself... it works from within the docker though with Py27 running.. somehow not able to install caffe on bare EC2.

foxm79 avatar Nov 17 '20 12:11 foxm79

yeah I also had a lot of troubles to get caffe running on my machine (multi CUDA, cuDNN ... welcome to the config hell) What I did, in the end, was getting lambda labs instance and it worked out of the box like a charm!

floschne avatar Nov 17 '20 13:11 floschne