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

Update singa-easy #45

Merged
merged 8 commits into from
Aug 26, 2020
Merged

Update singa-easy #45

merged 8 commits into from
Aug 26, 2020

Conversation

NLGithubWP
Copy link
Collaborator

@NLGithubWP NLGithubWP commented Aug 26, 2020

Using the test deployment, at http://panda.d2.comp.nus.edu.sg:3001
predict requests needs to be updated

image

Using following code to test locally

predictor_host = "panda.d2.comp.nus.edu.sg:45617"
query_path = /data/train/IM-0164-0001.jpeg"
files = {'img': open(query_path, 'rb')}
res = requests.post('http://{}'.format(predictor_host), files=files)
print(res.text)
print(type(res.text))

@NLGithubWP NLGithubWP merged commit 35fe4f4 into nusdbsystem:master Aug 26, 2020
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

Successfully merging this pull request may close these issues.

1 participant