MCPcopy Create free account
hub / github.com/crowsonkb/style_transfer / preprocess_images

Method preprocess_images

style_transfer.py:488–554  ·  view source on GitHub ↗

Performs preprocessing tasks on the input images.

(self, pool, content_images, style_images, content_layers, style_layers,
                          tile_size=512, roll=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

transferMethod · 0.80

Calls 7

layersMethod · 0.95
set_imageMethod · 0.95
prepare_featuresMethod · 0.95
roll2Function · 0.90
gram_matrixFunction · 0.90
resize_to_fitFunction · 0.85
formatMethod · 0.80

Tested by

no test coverage detected