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

Method __call__

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

Source from the content-addressed store, hash-verified

416 self.color = np.exp(np.random.normal(0, color*schedule_coeff,3))
417
418 def __call__(self, inputs, target):
419 inputs[1] = self.chrom_aug(inputs[1])
420 # noise
421 inputs[0]+=np.random.normal(0, self.noise, inputs[0].shape)
422 inputs[1]+=np.random.normal(0, self.noise, inputs[0].shape)
423 return inputs,target
424
425 def chrom_aug(self, rgb):
426 # color change

Callers

nothing calls this directly

Calls 1

chrom_augMethod · 0.95

Tested by

no test coverage detected