Closed auniquesun closed 6 months ago
Hi,
I am afraid the online demo cannot be used as API (I haven't tried this). You may download the model checkpoints and run the model on your local machine.
As for the return json format, you can check the code of our gradio demo: pointllm/eval/chat_gradio.py
Best, Runsen
But in your project page, you provided the API document, shown in below. I followed the instruction but didn't succeed.
Also, I didn't find anything related to json format in pointllm/eval/chat_gradio.py
.
That’s provided by Gradio by default and my demo is not intended to be used as API. You may check Gradio’s doc and I am not sure if it will work or not.
@RunsenXu Thanks for your reply. Before that I thought the doc was written by yourself. Now I get that the doc was generated by the Gradio by default. Thanks.
Thanks for sharing the project!
When I try to use the provided api to generate 3d objects related descriptions, the
.npy
path is valid on my computer, theexample.json
is as follows{"raw":{"a":1,"b":2},"serialized":null}
. I am not clear what the exact format of thejson
file, so I just set a very simple one.The server returned the following error.
I am not sure why the error ocurred.
Thanks.