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

How is your web version background deployed? #9

Open
TomatoBoy90 opened this issue Sep 1, 2020 · 4 comments
Open

How is your web version background deployed? #9

TomatoBoy90 opened this issue Sep 1, 2020 · 4 comments

Comments

@TomatoBoy90
Copy link

I use flask for deployment, and the infer time is very slow, one second at a time

@TomatoBoy90
Copy link
Author

Most of the time is spent in inference.

@TomatoBoy90
Copy link
Author

I use a single GPU (P 100) for inference

@onlineplay
Copy link
Collaborator

Most of the time is spent on shadow synthesis. In our online system, the shadow is composed of sketch images. To speed up the reading and writing time, we save the sketch as a binary file. In this version, each sketch image needs to be reconstructed by the corresponding decoder. So more time is needed. Saving these images in advance can save a lot of time. Hope it can help you.

@TomatoBoy90
Copy link
Author

Most of the time is spent on shadow synthesis. In our online system, the shadow is composed of sketch images. To speed up the reading and writing time, we save the sketch as a binary file. In this version, each sketch image needs to be reconstructed by the corresponding decoder. So more time is needed. Saving these images in advance can save a lot of time. Hope it can help you.
thank you very much,I'm going to experiment for you suggest

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

No branches or pull requests

2 participants