Open neostrange opened 1 year ago
I think the issue is that bash is trying to parse the parts of the URL and is messing up curl. Also the spaces aren't URL-encoded, although I'm not sure if that's important. Try running it as follows:
curl 'http://localhost:8888/detect-frames?sentence=i%20bought%20a%20new%20car'
Hi @chanind, thanks for the response.
I tried using curl and wget both following your approach but it still giving no reply. Now instead of giving multiple responses from server, it gives only single response as below:
curl: (52) Empty reply from server
How much memory are you giving to docker? It's possible it's running out of memory running the model. You can try increasing the memory, or you can run the following to use the small model:
curl 'http://localhost:8888/detect-frames?model=small&sentence=i%20bought%20a%20new%20car'
Hi,
I have built and run the docker container but it does not work.
It give me the following output:
While for trying:
curl http://localhost:8888/
It give me the following output:
{"name":"Frame Semantic Transformer Demo"}
I am uncertain if I am making any mistakes.