MCPcopy Create free account
hub / github.com/VisionXLab/OF-Diff / __call__

Method __call__

ldm/modules/midas/midas/transforms.py:205–208  ·  view source on GitHub ↗
(self, sample)

Source from the content-addressed store, hash-verified

203 self.__std = std
204
205 def __call__(self, sample):
206 sample["image"] = (sample["image"] - self.__mean) / self.__std
207
208 return sample
209
210
211class PrepareForNet(object):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected