MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / get_augmentors

Function get_augmentors

examples/GAN/DCGAN.py:102–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100
101
102def get_augmentors():
103 augs = []
104 if args.load_size:
105 augs.append(imgaug.Resize(args.load_size))
106 if args.crop_size:
107 augs.append(imgaug.CenterCrop(args.crop_size))
108 augs.append(imgaug.Resize(args.final_size))
109 return augs
110
111
112def get_data():

Callers 1

get_dataFunction · 0.85

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…