sketchkit.cleanup.MasterSketch

class sketchkit.cleanup.MasterSketch(device: str = 'cuda')[source]

A class for rough sketch cleanup using the method of paper “Mastering Sketching: Adversarial Augmentation for Structured Prediction” in SIGGRAPH 2018.

device

The device that is used.

Type:

str

__init__(device: str = 'cuda')[source]

Initializes the MasterSketch cleaner.

Parameters:

device (str, optional) – The device that is used.

Methods

__init__(*args, **kwargs)

Initialize self.