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 to run inference in batches? #103

Open
QiuhongAnnaWei opened this issue Oct 26, 2023 · 1 comment
Open

How to run inference in batches? #103

QiuhongAnnaWei opened this issue Oct 26, 2023 · 1 comment

Comments

@QiuhongAnnaWei
Copy link

QiuhongAnnaWei commented Oct 26, 2023

Thanks for the great work!

I am trying to run inference on a lot of images at once, and am wondering what is the best way to do that.

I have modified gradio_new.py to run without the interface but that code seems to be specifically structured for 1 input image at a time.

On the other hand, it seems like main.py test functionality may be a better option. How can I call it properly? Where in the code can I pass in my custom data and sampled camera viewpoints? Thank you!

@kaiaa7
Copy link

kaiaa7 commented Oct 31, 2023

Thanks for your excellent work!
I am also interested in how to run inference in batches and can you share your modified gradio_new.py@QiuhongAnnaWei

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