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

Method set_image

style_transfer.py:395–397  ·  view source on GitHub ↗

Sets the current model input to a PIL image.

(self, img)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

preprocess_imagesMethod · 0.95
transfer_multiscaleMethod · 0.80

Calls 1

pil_to_imageMethod · 0.95

Tested by

no test coverage detected