sgg icon indicating copy to clipboard operation
sgg copied to clipboard

How to create a scenegraph from a custom image?

Open donggu-kang opened this issue 4 years ago • 4 comments

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!

donggu-kang avatar Feb 20 '21 14:02 donggu-kang

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.

bknyaz avatar Mar 01 '21 01:03 bknyaz

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 avatar May 04 '21 15:05 donggu-kang

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?

donggu-kang avatar May 10 '21 16:05 donggu-kang

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

liuJP2 avatar Aug 09 '23 06:08 liuJP2