-
Notifications
You must be signed in to change notification settings - Fork 17
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
change batch_size #26
Comments
Hi @MDD-0928 , The most straightforward way to implement batch parallelism is by using multiprocessing to handle the image batches. You can modify the lines below Line 162 in d66b1e7
Also, please make sure you have enough computing resources, as processing a single image currently requires about 16GB of memory. Hope this helps! |
Thanks for your reply!!! |
Hi @MDD-0928 , Sorry for the delayed reply. The first On the other hand, the second Hope this clears things up! |
Dear author:
DiffAttack is such a novel and meaningful work for the community! Thanks to your contribution!
The text was updated successfully, but these errors were encountered: