MCPcopy Create free account
hub / github.com/adobe-research/custom-diffusion / __init__

Method __init__

src/diffusers_data_pipeline.py:261–263  ·  view source on GitHub ↗
(self, prompt, num_samples)

Source from the content-addressed store, hash-verified

259 "A simple dataset to prepare the prompts to generate class images on multiple GPUs."
260
261 def __init__(self, prompt, num_samples):
262 self.prompt = prompt
263 self.num_samples = num_samples
264
265 def __len__(self):
266 return self.num_samples

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected