MCPcopy
hub / github.com/DingXiaoH/RepVGG / _check_args_tf

Function _check_args_tf

train/randaug.py:35–38  ·  view source on GitHub ↗
(kwargs)

Source from the content-addressed store, hash-verified

33
34
35def _check_args_tf(kwargs):
36 if 'fillcolor' in kwargs and _PIL_VER < (5, 0):
37 kwargs.pop('fillcolor')
38 kwargs['resample'] = _interpolation(kwargs)
39
40
41def cutout(img, factor, **kwargs):

Callers 8

cutoutFunction · 0.85
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