MCPcopy Create free account
hub / github.com/MStypulkowski/diffused-heads / get_motion_transforms

Function get_motion_transforms

utils.py:66–72  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

64
65
66def get_motion_transforms(args):
67 motion_transforms = []
68 if args.motion_blur:
69 motion_transforms.append(GaussianBlur(5, sigma=2.0))
70 if args.grayscale_motion:
71 motion_transforms.append(Grayscale(1))
72 return Compose(motion_transforms)
73
74
75def save_audio(path, audio, audio_rate=16000):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected