MCPcopy Create free account
hub / github.com/drinkingcoder/FlowFormer-Official / __call__

Method __call__

core/utils/flow_transforms.py:321–324  ·  view source on GitHub ↗
(self, inputs, target)

Source from the content-addressed store, hash-verified

319
320
321 def __call__(self, inputs, target):
322 inputs[0] = self.pca_image(inputs[0])
323 inputs[1] = self.pca_image(inputs[1])
324 return inputs,target
325
326 def pca_image(self, rgb):
327 eig = np.dot(rgb, self.eigvec)

Callers

nothing calls this directly

Calls 1

pca_imageMethod · 0.95

Tested by

no test coverage detected