MCPcopy
hub / github.com/facebookresearch/jepa / _check_args_tf

Function _check_args_tf

src/datasets/utils/video/randaugment.py:45–48  ·  view source on GitHub ↗
(kwargs)

Source from the content-addressed store, hash-verified

43
44
45def _check_args_tf(kwargs):
46 if "fillcolor" in kwargs and _PIL_VER < (5, 0):
47 kwargs.pop("fillcolor")
48 kwargs["resample"] = _interpolation(kwargs)
49
50
51def shear_x(img, factor, **kwargs):

Callers 7

shear_xFunction · 0.85
shear_yFunction · 0.85
translate_x_relFunction · 0.85
translate_y_relFunction · 0.85
translate_x_absFunction · 0.85
translate_y_absFunction · 0.85
rotateFunction · 0.85

Calls 1

_interpolationFunction · 0.85

Tested by

no test coverage detected