microsoft / scene_graph_benchmark

image scene graph generation benchmark
MIT License
382 stars 86 forks source link

Is that a bug for extracting visual features? #40

Open youngfly11 opened 2 years ago

youngfly11 commented 2 years ago

Hi, I run the demo_image.py. But I found something inconsistent. In code, the image is changed into RGB format to feed into the detection model.

But, I found that in the configure file. the PIXEL MEAN is : [103.530, 116.280, 123.675], which is BGR format indeed. and I found in the tsv_demo.py, the image is also BGR format read by CV2. So I am confused which is right?