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

How to create a scenegraph from a custom image? #6

Open
donggu-kang opened this issue Feb 20, 2021 · 4 comments
Open

How to create a scenegraph from a custom image? #6

donggu-kang opened this issue Feb 20, 2021 · 4 comments

Comments

@donggu-kang
Copy link

Your research is very good, and it is very helpful to me. Thank you for always.

I would like to proceed with creating a scenegraph for my custom image.

Can you help me how I can do it?

I would like to modify the Jupiter notebook source code provided by you, if possible, to give a custom image as input.

  • I mean, I don't add learning data, I just want to see the scene graph as the image I specified!
@bknyaz
Copy link
Owner

bknyaz commented Mar 1, 2021

Simply try loading and passing your custom image in the line det_res = detector.forward_parallel(b) of the notebook.
Make sure the image is in the appropriate shape and range of values, which you can see by inspecting tensor b for GQA images.

@donggu-kang
Copy link
Author

Simply try loading and passing your custom image in the line det_res = detector.forward_parallel(b) of the notebook.
Make sure the image is in the appropriate shape and range of values, which you can see by inspecting tensor b for GQA images.

Sorry, can you tell me a little more?

@donggu-kang
Copy link
Author

Hi.

I want to put more than 1000 png/jpg images in the folder I designated and proceed with the scene graph generation.

I want to save the generated scene graph and other results in a text file or json format.

Also I would like to batch this.

Is there a good way?

@liuJP2
Copy link

liuJP2 commented Aug 9, 2023

Hi.

I want to put more than 1000 png/jpg images in the folder I designated and proceed with the scene graph generation.

I want to save the generated scene graph and other results in a text file or json format.

Also I would like to batch this.

Is there a good way?

hello~Have you found a way to solve it? I had the same problem

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

3 participants