Construct a new Predictor
for Waifu2X prediction.
Json url path of Waifu2X weights.
The size of a single block when dividing an image into multiple blocks for processing
Memory used by tf.Tensor
in the tf.layers.Layer
instance can not be free automatically,
call this if the Predictor
instance won't be used;
Set a listener which will be called when the model download progress changed.
Set a listener which will be called when the model predict progress changed.
Apply Waifu2X to the input image.
The Image coding as ImageBitMap with RGB color space as the input of the Waifu2X task.
To decrease noise or do super resolution job.
Generated using TypeDoc
This class can load Waifu2X json weights and do the prediction job.