Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PredCls, SGCls for custom images #192

Open
park-youngjae opened this issue Mar 1, 2023 · 1 comment
Open

PredCls, SGCls for custom images #192

park-youngjae opened this issue Mar 1, 2023 · 1 comment

Comments

@park-youngjae
Copy link

Thank you for your wonderful work for Scene Graph Generation tasks.

I would like to use your code as a baseline for my research.

In addition, could you provide PredCls and SGCls codes for custom images inference?

Thank you.

@explorer-shy
Copy link

Check the reademe.md first.

SGDet on Custom Images

Note that evaluation on custum images is only applicable for SGDet model, because PredCls and SGCls model requires additional ground-truth bounding boxes information. To detect scene graphs into a json file on your own images, you need to turn on the switch TEST.CUSTUM_EVAL and give a folder path (or a json file containing a list of image paths) that contains the custom images to TEST.CUSTUM_PATH. Only JPG files are allowed. The output will be saved as custom_prediction.json in the given DETECTED_SGG_DIR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants