MCPcopy Index your code
hub / github.com/AUTOMATIC1111/stable-diffusion-webui / postprocess_batch

Method postprocess_batch

modules/scripts.py:210–219  ·  view source on GitHub ↗

Same as process_batch(), but called for every batch after it has been generated. **kwargs will have same items as process_batch, and also: - batch_number - index of current batch, from 0 to number of batches-1 - images - torch tensor with all generated imag

(self, p, *args, **kwargs)

Source from the content-addressed store, hash-verified

208 pass
209
210 def postprocess_batch(self, p, *args, **kwargs):
211 """
212 Same as process_batch(), but called for every batch after it has been generated.
213
214 **kwargs will have same items as process_batch, and also:
215 - batch_number - index of current batch, from 0 to number of batches-1
216 - images - torch tensor with all generated images, with values ranging from 0 to 1;
217 """
218
219 pass
220
221 def postprocess_batch_list(self, p, pp: PostprocessBatchListArgs, *args, **kwargs):
222 """

Callers 2

postprocess_batchMethod · 0.45
process_images_innerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected