On first inference pass, the model will perform slower than on subsequent runs. You can avoid this by "warming up" the model, or passing through some dummy data at startup time.
This example shows how to warm up UpscalerJS.
Click the upscale button to upscale the photo; notice it runs inference faster than the basic example.
| Original | Upscaled |
|
|