MCPcopy Create free account
hub / github.com/ajbrock/BigGAN-PyTorch / CenterCropLongEdge

Class CenterCropLongEdge

utils.py:434–451  ·  view source on GitHub ↗

Crops the given PIL Image on the long edge. Args: size (sequence or int): Desired output size of the crop. If size is an int instead of sequence like (h, w), a square crop (size, size) is made.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

get_data_loadersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected