Closed DeepaliVerma closed 2 years ago
Thanks for your interest in our paper! To run on custom images, before using the SGG models, the first step is to detect objects and extract their features.
In most of our experiments, following VSPNet, we used the object detector trained on OpenImage-V4 from Tensorflow. This post might be useful for region feature extraction. Or the other way, you can use the object detector trained on Visual Genome. This detector was used in our fully supervised experiment and can be combined with our trained model Sup_OnlineDetector_Uniter
in the README. The command can be referred to SGDet on Custom Images.
There is a new update about extracting region features using Tensorflow Object Detection API. If you're interested in using Tensorflow API, the discussion in post #5 might be helpful.
Sir, how can I use this code to predict scene graphs on random images rather than the dataset images.