Third-party notices: the AI model behind Upscale Image ================================================================================ Upscale Image (/image/upscale) on tools-bench.com runs Real-ESRGAN. The model is downloaded to your browser the first time you use the tool and runs entirely on your device; the image you upscale is never uploaded. The model --------- /models/realesr-general-x4v3.onnx 4,866,396 bytes SHA-256 f788518cc66e302bc9b6946016e989dd9374f1012d5b6c0c7e753904ef3f99e4 These are the weights of realesr-general-x4v3, the general-purpose 4x model released by Xintao Wang et al. with Real-ESRGAN: https://github.com/xinntao/Real-ESRGAN release v0.2.5.0, realesr-general-x4v3.pth SHA-256 8dc7edb9ac80ccdc30c3a5dca6616509367f05fbc184ad95b731f05bece96292 The file served here is that checkpoint converted to ONNX so it can run on ONNX Runtime Web, obtained from https://huggingface.co/relax123666/clearpic-models. The conversion changes the container, not the weights: of the 102 weight tensors in the ONNX graph, 101 are byte-for-byte identical to a storage blob of the upstream .pth above — 1,213,296 of 1,213,300 parameters. The four that are not are a Resize operator's shape constant, which the upstream checkpoint does not contain because it belongs to the graph rather than to the network's weights. Real-ESRGAN is BSD-3-Clause, and its notice follows in full. ONNX Runtime Web (onnxruntime-web, MIT) executes the model; its notice follows after that. Real-ESRGAN -------------------------------------------------------------------------------- BSD 3-Clause License Copyright (c) 2021, Xintao Wang All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ONNX Runtime (onnxruntime-web 1.21.0) -------------------------------------------------------------------------------- MIT License Copyright (c) Microsoft Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.