nusdbsystem / singa-easy

Plugins for singa-auto platform (https://github.com/nusdbsystem/singa-auto) for AutoML
Apache License 2.0
5 stars 7 forks source link

Add web folder and the web app for Covid-19 Q&A #6

Closed pinpom closed 4 years ago

pinpom commented 4 years ago

Add the web folder and the web app for Covid-19 Q&A

chrishkchris commented 4 years ago

When this PR is completed and ready, can you deploy it at our server for verification or double checking? I will help to take a look of the deployed web. Thanks!

pinpom commented 4 years ago

When this PR is completed and ready, can you deploy it at our server for verification or double checking? I will help to take a look of the deployed web. Thanks!

the web app is up at http://panda.d2.comp.nus.edu.sg:8000/. Put the inference service endpoint at the "input url" box, it will generate response at the bottom of the page

chrishkchris commented 4 years ago

When this PR is completed and ready, can you deploy it at our server for verification or double checking? I will help to take a look of the deployed web. Thanks!

the web app is up at http://panda.d2.comp.nus.edu.sg:8000/. Put the inference service endpoint at the "input url" box, it will generate response at the bottom of the page

@delphieritas When your Q&A PR #18 is done, could you train it and and provide a inference job url for us to test the web app?

chrishkchris commented 4 years ago

@pinpom Could you please reorganize the structure of files related to this PR following the comment in the PR https://github.com/nusdbsystem/singa-easy/pull/19

singa_easy/
            singa_easy/
            web/
                    index.html
                    tasks/
                               image_classification
                               object_detection
                               question_answering
                    xxxxx (some shared files among all the tasks)

In this case, only question_answering UI part is related to your PR. If it is difficult without the singa_easy/web/index.html in https://github.com/nusdbsystem/singa-easy/pull/19, you can wait for #19 to be merged first

pinpom commented 4 years ago

@pinpom Could you please reorganize the structure of files related to this PR following the comment in the PR #19

singa_easy/
            singa_easy/
            web/
                    index.html
                    tasks/
                               image_classification
                               object_detection
                               question_answering
                    xxxxx (some shared files among all the tasks)

In this case, only question_answering UI part is related to your PR. If it is difficult without the singa_easy/web/index.html in #19, you can wait for #19 to be merged first

I put all my web files into ./web/tasks/question_answering folder. it won't be affected or affect any other files in the web folder, i think

chrishkchris commented 4 years ago

@pinpom Could you please reorganize the structure of files related to this PR following the comment in the PR #19

singa_easy/
            singa_easy/
            web/
                    index.html
                    tasks/
                               image_classification
                               object_detection
                               question_answering
                    xxxxx (some shared files among all the tasks)

In this case, only question_answering UI part is related to your PR. If it is difficult without the singa_easy/web/index.html in #19, you can wait for #19 to be merged first

I put all my web files into ./web/tasks/question_answering folder. it won't be affected or affect any other files in the web folder, i think

Thanks!

chrishkchris commented 4 years ago

Last time you modified the code (concerning hardcoding the question area), could you please deploy it again so @delphieritas can test? In the group meeting, we discussed the concern about the json string format when the UI server communicates with the inference job server, so please help her if she encounters any communication problem with the UI. Thanks!

pinpom commented 4 years ago

Last time you modified the code (concerning hardcoding the question area), could you please deploy it again so @delphieritas can test? In the group meeting, we discussed the concern about the json string format when the UI server communicates with the inference job server, so please help her if she encounters any communication problem with the UI. Thanks!

updated at the url http://panda.d2.comp.nus.edu.sg:8000/

chrishkchris commented 4 years ago

SInce @arielclj need to combine her model zoo UI with this UI within the same build by YARN, I merge this PR first