MCPcopy Create free account
hub / github.com/PolymathicAI/AstroCLIP / __call__

Method __call__

astroclip/data/datamodule.py:71–76  ·  view source on GitHub ↗
(self, samples)

Source from the content-addressed store, hash-verified

69 return images
70
71 def __call__(self, samples):
72 # collate and handle dimensions
73 samples = default_collate(samples)
74 # process images
75 samples["image"] = self._process_images(samples["image"])
76 return samples

Callers

nothing calls this directly

Calls 1

_process_imagesMethod · 0.95

Tested by

no test coverage detected