1
0
Fork 0
mirror of synced 2024-05-17 11:22:21 +12:00

Merge branch 'master' of github.com:nagadomi/waifu2x

This commit is contained in:
nagadomi 2019-11-27 13:49:24 +09:00
commit 950108d561
20 changed files with 94 additions and 86 deletions

3
.github/FUNDING.yml vendored Normal file
View file

@ -0,0 +1,3 @@
# These are supported funding model platforms
patreon: nagadomi

View file

@ -1,10 +1,10 @@
FROM kaixhin/cuda-torch:7.5 FROM nagadomi/torch7:cuda10.1-cudnn7-devel-ubuntu18.04
RUN apt-get update && apt-get install -y --no-install-recommends --force-yes \ RUN apt-get update && apt-get install -y --no-install-recommends --force-yes \
libsnappy-dev \ libsnappy-dev \
graphicsmagick \ graphicsmagick \
libgraphicsmagick1-dev \ libgraphicsmagick1-dev \
libssl-dev \ libssl1.0-dev \
ca-certificates \ ca-certificates \
git && \ git && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*

View file

@ -28,7 +28,7 @@ TODO
[Third-Party](https://github.com/nagadomi/waifu2x/wiki/Third-Party) [Third-Party](https://github.com/nagadomi/waifu2x/wiki/Third-Party)
If you are a windows user, I recommend you to use [waifu2x-caffe](https://github.com/lltcggie/waifu2x-caffe)(Just download from `releases` tab) or [waifu2x-conver-cpp](https://github.com/DeadSix27/waifu2x-converter-cpp). If you are a windows user, I recommend you to use [waifu2x-caffe](https://github.com/lltcggie/waifu2x-caffe)(Just download from `releases` tab), [waifu2x-ncnn-vulkan](https://github.com/nihui/waifu2x-ncnn-vulkan) or [waifu2x-conver-cpp](https://github.com/DeadSix27/waifu2x-converter-cpp).
## Dependencies ## Dependencies
@ -58,8 +58,6 @@ See: [NVIDIA CUDA Getting Started Guide for Linux](http://docs.nvidia.com/cuda/c
Download [CUDA](http://developer.nvidia.com/cuda-downloads) Download [CUDA](http://developer.nvidia.com/cuda-downloads)
Note: Torch does not supported CUDA10. CUDA9.2 is recommended.
``` ```
sudo dpkg -i cuda-repo-ubuntu1404_7.5-18_amd64.deb sudo dpkg -i cuda-repo-ubuntu1404_7.5-18_amd64.deb
sudo apt-get update sudo apt-get update
@ -78,7 +76,10 @@ Note: waifu2x requires little-cms2 linked graphicsmagick. if you use macOS/homeb
#### Install Torch7 #### Install Torch7
See: [Getting started with Torch](http://torch.ch/docs/getting-started.html). For CUDA9.x/CUDA8.x, see [#222](https://github.com/nagadomi/waifu2x/issues/222), For CUDA10, see [#253](https://github.com/nagadomi/waifu2x/issues/253#issuecomment-445448928). See: [Getting started with Torch](http://torch.ch/docs/getting-started.html).
- For CUDA9.x/CUDA8.x, see [#222](https://github.com/nagadomi/waifu2x/issues/222)
- For CUDA10.x, see [#253](https://github.com/nagadomi/waifu2x/issues/253#issuecomment-445448928)
#### Getting waifu2x #### Getting waifu2x
@ -240,6 +241,8 @@ You can check the performance of model with `models/my_model/noise1_scale2.0x_be
## Docker ## Docker
( Docker image is available at https://hub.docker.com/r/nagadomi/waifu2x )
Requires `nvidia-docker`. Requires `nvidia-docker`.
``` ```

View file

@ -72,7 +72,7 @@
</a> </a>
/ /
<a href="index.ro.html"> <a href="index.ro.html">
Limba română Română
</a> </a>
</div> </div>
<p>Amplia la resolució d'il·lustracions d'estil anime utilitzant xarxes neuronals convolucionals profundes. I suporta fotos.</p> <p>Amplia la resolució d'il·lustracions d'estil anime utilitzant xarxes neuronals convolucionals profundes. I suporta fotos.</p>

View file

@ -72,7 +72,7 @@
</a> </a>
/ /
<a href="index.ro.html"> <a href="index.ro.html">
Limba română Română
</a> </a>
</div> </div>
<p>Einzelbild Super-Auflösungs Konvertierung für Bilder im Anime Stil mithilfe eines künstlichen neuronalen Netzwerk. Zusätzlich dazu unterstützt es auch Fotos.</p> <p>Einzelbild Super-Auflösungs Konvertierung für Bilder im Anime Stil mithilfe eines künstlichen neuronalen Netzwerk. Zusätzlich dazu unterstützt es auch Fotos.</p>

View file

@ -72,7 +72,7 @@
</a> </a>
/ /
<a href="index.ro.html"> <a href="index.ro.html">
Limba română Română
</a> </a>
</div> </div>
<p>Mejora la resolución de ilustraciones de tipo anime utilizando redes neuronales convolucionales. También es compatible con fotografías.</p> <p>Mejora la resolución de ilustraciones de tipo anime utilizando redes neuronales convolucionales. También es compatible con fotografías.</p>

View file

@ -72,7 +72,7 @@
</a> </a>
/ /
<a href="index.ro.html"> <a href="index.ro.html">
Limba română Română
</a> </a>
</div> </div>
<p>Outil permettant la mise à l'échelle de n'importe quelle image de style "anime", par le biais de réseaux de neurones convolutionnels. Fonctionne également sur les photos.</p> <p>Outil permettant la mise à l'échelle de n'importe quelle image de style "anime", par le biais de réseaux de neurones convolutionnels. Fonctionne également sur les photos.</p>

View file

@ -72,7 +72,7 @@
</a> </a>
/ /
<a href="index.ro.html"> <a href="index.ro.html">
Limba română Română
</a> </a>
</div> </div>
<p>Single-Image Super-Resolution for Anime-Style Art using Deep Convolutional Neural Networks. And it supports photo.</p> <p>Single-Image Super-Resolution for Anime-Style Art using Deep Convolutional Neural Networks. And it supports photo.</p>

View file

@ -72,7 +72,7 @@
</a> </a>
/ /
<a href="index.ro.html"> <a href="index.ro.html">
Limba română Română
</a> </a>
</div> </div>
<p>深層畳み込みニューラルネットワークによる二次元画像のための超解像システム。 写真にも対応。</p> <p>深層畳み込みニューラルネットワークによる二次元画像のための超解像システム。 写真にも対応。</p>

View file

@ -72,7 +72,7 @@
</a> </a>
/ /
<a href="index.ro.html"> <a href="index.ro.html">
Limba română Română
</a> </a>
</div> </div>
<p>컨볼루션 신경망(CNN) 시스템을 통한 딥 러닝으로 2차원 이미지의 해상도를 개선합니다. 그림뿐만 아니라 사진도 지원합니다.</p> <p>컨볼루션 신경망(CNN) 시스템을 통한 딥 러닝으로 2차원 이미지의 해상도를 개선합니다. 그림뿐만 아니라 사진도 지원합니다.</p>

View file

@ -72,7 +72,7 @@
</a> </a>
/ /
<a href="index.ro.html"> <a href="index.ro.html">
Limba română Română
</a> </a>
</div> </div>
<p>Single-Image Super-Resolutie voor Anime-Style afbeeldingen met behulp van Deep Convolutional Neural Networks. Oh, en het ondersteunt foto's.</p> <p>Single-Image Super-Resolutie voor Anime-Style afbeeldingen met behulp van Deep Convolutional Neural Networks. Oh, en het ondersteunt foto's.</p>

View file

@ -72,30 +72,30 @@
</a> </a>
/ /
<a href="index.ro.html"> <a href="index.ro.html">
Limba română Română
</a> </a>
</div> </div>
<p>Single-Image Super-Resolution for Anime-Style Art using Deep Convolutional Neural Networks. And it supports photo.</p> <p>Super resolução de imagem única para arte estilo anime usando redes neurais convolucionais. Com suporte para fotos.</p>
<p class="margin1 link-box"> <p class="margin1 link-box">
<a href="https://raw.githubusercontent.com/nagadomi/waifu2x/master/images/slide.png" class="blue-link" target="_blank"> <a href="https://raw.githubusercontent.com/nagadomi/waifu2x/master/images/slide.png" class="blue-link" target="_blank">
Sobre Mostrar demonstração
</a> </a>
| |
<a href="https://github.com/nagadomi/waifu2x" class="blue-link" target="_blank"> <a href="https://github.com/nagadomi/waifu2x" class="blue-link" target="_blank">
Ir para Github Ir para o Github
</a> </a>
</p> </p>
<form action="/api" method="POST" enctype="multipart/form-data" target="_blank"> <form action="/api" method="POST" enctype="multipart/form-data" target="_blank">
<div class="option-box first"> <div class="option-box first">
<div class="option-left">Imagem:</div> <div class="option-left">Imagem:</div>
<div class="option-right"> <div class="option-right">
<input type="text" id="url" name="url" placeholder="URL"> <input type="text" id="url" name="url" placeholder="Digite uma URL">
<div class="option-right-small"> <div class="option-right-small">
ARQUIVO: Ou escolha um arquivo:
<input type="file" id="file" name="file"></div> <input type="file" id="file" name="file"></div>
</div> </div>
<div class="option-hint file_limits"> <div class="option-hint file_limits">
Limites: Tamanho: 5MB, Redução de ruído: 3000x3000px, Aumento de escala: 1500x1500px. Limites: Tamanho: 5MB; Redução de ruído: 3000x3000px; Aumento de escala: 1500x1500px.
</div> </div>
</div> </div>
<div class="option-box"> <div class="option-box">
@ -105,7 +105,7 @@
<div class="option-right"> <div class="option-right">
<label><input type="radio" name="style" class="radio" value="art" checked> <label><input type="radio" name="style" class="radio" value="art" checked>
<span class="r-text"> <span class="r-text">
Arte Desenho
</span> </span>
</label> </label>
<label><input type="radio" name="style" class="radio" value="photo"> <label><input type="radio" name="style" class="radio" value="photo">
@ -119,7 +119,7 @@
<div class="option-left"> <div class="option-left">
Redução de ruído: Redução de ruído:
<div class="option-left-small"> <div class="option-left-small">
(Exceto artefato JPEG) (exceto artefato JPEG)
</div> </div>
</div> </div>
<div class="option-right"> <div class="option-right">
@ -130,7 +130,7 @@
</label> </label>
<label><input type="radio" name="noise" class="radio" value="0" checked> <label><input type="radio" name="noise" class="radio" value="0" checked>
<span class="r-text"> <span class="r-text">
Low Baixa
</span> </span>
</label> </label>
<label><input type="radio" name="noise" class="radio" value="1" checked> <label><input type="radio" name="noise" class="radio" value="1" checked>
@ -147,12 +147,12 @@
<label> <label>
<input type="radio" name="noise" class="radio" value="3"> <input type="radio" name="noise" class="radio" value="3">
<span class="r-text"> <span class="r-text">
Highest Mais alta
</span> </span>
</label> </label>
</div> </div>
<div class="option-hint"> <div class="option-hint">
Quando usando a escala 2x, Nós nunca recomendamos usar um nível alto de redução de ruído, quase sempre deixa a imagem pior, faz sentido apenas para casos raros quando a imagem tinha uma qualidade muito má desde o começo. Use redução de ruído apenas se a imagem realmente apresentar ruído; do contrário, isso poderá piorar a qualidade da imagem.
</div> </div>
</div> </div>
<div class="option-box"> <div class="option-box">
@ -186,7 +186,7 @@
<div class="bottom-hint"> <div class="bottom-hint">
<ul> <ul>
<li>Se Você estiver usando o Firefox, por favor, aperte CTRL+S para salvar a imagem. A opção "Salvar Imagem" não funciona</li> <li>Se você estiver usando o Firefox, por favor, aperte CTRL+S para salvar a imagem. A opção "Salvar Imagem" não funciona.</li>
</ul> </ul>
</div> </div>

View file

@ -72,22 +72,22 @@
</a> </a>
/ /
<a href="index.ro.html"> <a href="index.ro.html">
Limba română Română
</a> </a>
</div> </div>
<p>Schimbă rezoluția fiecărei imagini de tip Anime cu ajutorul rețelelor neuronale convuluționale profunde.</p> <p>O Super-Sistemă de Schimbare Singulară al Rezoluției pentru Desene de Tip Anime ce Utilizează Rețele Neurale Profunde Convoluționale. De-asemenea suportă fotografii.</p>
<p class="margin1 link-box"> <p class="margin1 link-box">
<a href="https://raw.githubusercontent.com/nagadomi/waifu2x/master/images/slide.png" class="blue-link" target="_blank"> <a href="https://raw.githubusercontent.com/nagadomi/waifu2x/master/images/slide.png" class="blue-link" target="_blank">
Arată demonstrația Arată demonstrația deplină
</a> </a>
| |
<a href="https://github.com/nagadomi/waifu2x" class="blue-link" target="_blank"> <a href="https://github.com/nagadomi/waifu2x" class="blue-link" target="_blank">
Mergi către GitHub Mergi la GitHub
</a> </a>
</p> </p>
<form action="/api" method="POST" enctype="multipart/form-data" target="_blank"> <form action="/api" method="POST" enctype="multipart/form-data" target="_blank">
<div class="option-box first"> <div class="option-box first">
<div class="option-left">Alege imaginea:</div> <div class="option-left">Alegerea imaginii:</div>
<div class="option-right"> <div class="option-right">
<input type="text" id="url" name="url" placeholder="Introdu URL-ul Imaginii"> <input type="text" id="url" name="url" placeholder="Introdu URL-ul Imaginii">
<div class="option-right-small"> <div class="option-right-small">
@ -95,7 +95,7 @@
<input type="file" id="file" name="file"></div> <input type="file" id="file" name="file"></div>
</div> </div>
<div class="option-hint file_limits"> <div class="option-hint file_limits">
Limite: Dimensiune: 5MB, Reducere Noise: 3000x3000px, upscale: 1500x1500px Limite: Mărime: 5MB, Reducere Zgomot: 3000x3000px, Lărgire: 1500x1500px
</div> </div>
</div> </div>
<div class="option-box"> <div class="option-box">
@ -105,65 +105,65 @@
<div class="option-right"> <div class="option-right">
<label><input type="radio" name="style" class="radio" value="art" checked> <label><input type="radio" name="style" class="radio" value="art" checked>
<span class="r-text"> <span class="r-text">
Artwork Desen
</span> </span>
</label> </label>
<label><input type="radio" name="style" class="radio" value="photo"> <label><input type="radio" name="style" class="radio" value="photo">
<span class="r-text"> <span class="r-text">
Imagine Fotografie
</span> </span>
</label> </label>
</div> </div>
</div> </div>
<div class="option-box"> <div class="option-box">
<div class="option-left"> <div class="option-left">
Reducere Noise: Reducere Zgomot:
<div class="option-left-small"> <div class="option-left-small">
(Așteaptă artefactele JPEG) (Va crea artefacte de tip JPEG)
</div> </div>
</div> </div>
<div class="option-right"> <div class="option-right">
<label><input type="radio" name="noise" class="radio" value="-1"> <label><input type="radio" name="noise" class="radio" value="-1">
<span class="r-text"> <span class="r-text">
Nu Fără
</span> </span>
</label> </label>
<label><input type="radio" name="noise" class="radio" value="0" checked> <label><input type="radio" name="noise" class="radio" value="0" checked>
<span class="r-text"> <span class="r-text">
Încet Slab
</span> </span>
</label> </label>
<label><input type="radio" name="noise" class="radio" value="1" checked> <label><input type="radio" name="noise" class="radio" value="1" checked>
<span class="r-text"> <span class="r-text">
Medium Mediu
</span> </span>
</label> </label>
<label> <label>
<input type="radio" name="noise" class="radio" value="2"> <input type="radio" name="noise" class="radio" value="2">
<span class="r-text"> <span class="r-text">
Forțat Puternic
</span> </span>
</label> </label>
<label> <label>
<input type="radio" name="noise" class="radio" value="3"> <input type="radio" name="noise" class="radio" value="3">
<span class="r-text"> <span class="r-text">
Super Forțat Cel Mai Puternic
</span> </span>
</label> </label>
</div> </div>
<div class="option-hint"> <div class="option-hint">
Aveți nevoie de reducere de Noise dacă imaginea are Noise efectiv sau poate produce efect opus. Veți avea nevoie de Reducere Zgomot dacă imaginea are zgomot sau va crea efecte adverse.
</div> </div>
</div> </div>
<div class="option-box"> <div class="option-box">
<div class="option-left"> <div class="option-left">
Upscale: Lărgire:
<div class="option-left-small"></div> <div class="option-left-small"></div>
</div> </div>
<div class="option-right"> <div class="option-right">
<label><input type="radio" name="scale" class="radio" value="-1" checked> <label><input type="radio" name="scale" class="radio" value="-1" checked>
<span class="r-text"> <span class="r-text">
Nu Fără
</span> </span>
</label> </label>
<label><input type="radio" name="scale" class="radio" value="1"> <label><input type="radio" name="scale" class="radio" value="1">
@ -180,13 +180,13 @@
</div> </div>
<input type="submit" class="button" value="Convert"> <input type="submit" class="button" value="Convertește">
<input type="submit" name="download" value="Descărcare" class="button"> <input type="submit" name="download" value="Descărcă" class="button">
<div class="bottom-hint"> <div class="bottom-hint">
<ul> <ul>
<li>Dacă folosești Firefox, te rog folosește CTRL+S pentru salvarea imaginii. Opțiunea "Save Image" nu funcționează.</li> <li>Dacă utilizezi Firefox, te rog să folosește CTRL+S pentru salvarea imaginii. Opțiunea "Save Image" nu funcționează.</li>
</ul> </ul>
</div> </div>

View file

@ -72,7 +72,7 @@
</a> </a>
/ /
<a href="index.ro.html"> <a href="index.ro.html">
Limba română Română
</a> </a>
</div> </div>
<p>Waifu2x позволяет увеличивать рисованные изображения, например аниме или арт, а также устранять шум на изображении (преимущественно артефакты сжатия JPEG). Также поддерживаются фотографии.</p> <p>Waifu2x позволяет увеличивать рисованные изображения, например аниме или арт, а также устранять шум на изображении (преимущественно артефакты сжатия JPEG). Также поддерживаются фотографии.</p>

View file

@ -72,7 +72,7 @@
</a> </a>
/ /
<a href="index.ro.html"> <a href="index.ro.html">
Limba română Română
</a> </a>
</div> </div>
<p>Derin Sarmalı Sinirsel Ağ ile çalışan anime stili çalışmalar için süper çözünürlük yükselticidir. Normal fotoğrafları da destekler.</p> <p>Derin Sarmalı Sinirsel Ağ ile çalışan anime stili çalışmalar için süper çözünürlük yükselticidir. Normal fotoğrafları da destekler.</p>

View file

@ -72,7 +72,7 @@
</a> </a>
/ /
<a href="index.ro.html"> <a href="index.ro.html">
Limba română Română
</a> </a>
</div> </div>
<p>本程序使用卷积神经网络对动漫风格的图片进行放大操作(支持照片)。</p> <p>本程序使用卷积神经网络对动漫风格的图片进行放大操作(支持照片)。</p>

View file

@ -72,7 +72,7 @@
</a> </a>
/ /
<a href="index.ro.html"> <a href="index.ro.html">
Limba română Română
</a> </a>
</div> </div>
<p>使用深度卷積神經網路的二次元圖片超解析系統。同時支援照片處理。</p> <p>使用深度卷積神經網路的二次元圖片超解析系統。同時支援照片處理。</p>

View file

@ -1,23 +1,25 @@
--- ---
description: Single-Image Super-Resolution for Anime-Style Art using Deep Convolutional Neural Networks. And it supports photo. description: Super resolução de imagem única para arte estilo anime usando redes neurais convolucionais. Com suporte para fotos.
show_demonstration: Sobre show_demonstration: Mostrar demonstração
go_to_github: Ir para Github go_to_github: Ir para o Github
image_choosing: Imagem image_choosing: Imagem
type_url: URL type_url: Digite uma URL
choose_file: ARQUIVO choose_file: Ou escolha um arquivo
file_limits: "Limites: Tamanho: 5MB, Redução de ruído: 3000x3000px, Aumento de escala: 1500x1500px." file_limits: "Limites: Tamanho: 5MB; Redução de ruído: 3000x3000px; Aumento de escala: 1500x1500px."
style: Estilo style: Estilo
artwork: Arte artwork: Desenho
photo: Foto photo: Foto
noise_reduction: Redução de ruído noise_reduction: Redução de ruído
expect_jpeg: Exceto artefato JPEG expect_jpeg: exceto artefato JPEG
nr_none: Nenhuma nr_none: Nenhuma
nr_low: Baixa
nr_medium: Média nr_medium: Média
nr_high: Alta nr_high: Alta
nr_hint: "Quando usando a escala 2x, Nós nunca recomendamos usar um nível alto de redução de ruído, quase sempre deixa a imagem pior, faz sentido apenas para casos raros quando a imagem tinha uma qualidade muito má desde o começo." nr_highest: Mais alta
nr_hint: "Use redução de ruído apenas se a imagem realmente apresentar ruído; do contrário, isso poderá piorar a qualidade da imagem."
upscaling: Aumento de escala upscaling: Aumento de escala
up_none: Nenhum up_none: Nenhum
button_convert: Converter button_convert: Converter
button_download: Baixar button_download: Baixar
hints: hints:
- "Se Você estiver usando o Firefox, por favor, aperte CTRL+S para salvar a imagem. A opção \"Salvar Imagem\" não funciona" - "Se você estiver usando o Firefox, por favor, aperte CTRL+S para salvar a imagem. A opção \"Salvar Imagem\" não funciona."

View file

@ -1,30 +1,30 @@
--- ---
description: Schimbă rezoluția fiecărei imagini de tip Anime cu ajutorul rețelelor neuronale convuluționale profunde. description: O Super-Sistemă de Schimbare Singulară al Rezoluției pentru Desene de Tip Anime ce Utilizează Rețele Neurale Profunde Convoluționale. De-asemenea suportă fotografii.
show_demonstration: Arată demonstrația show_demonstration: Arată demonstrația deplină
go_to_github: Mergi către GitHub go_to_github: Mergi la GitHub
image_choosing: Alege imaginea image_choosing: Alegerea imaginii
type_url: Introdu URL-ul Imaginii type_url: Introdu URL-ul Imaginii
choose_file: Sau alege un fișier choose_file: Sau alege un fișier
file_limits: "Limite: Dimensiune: 5MB, Reducere Noise: 3000x3000px, upscale: 1500x1500px" file_limits: "Limite: Mărime: 5MB, Reducere Zgomot: 3000x3000px, Lărgire: 1500x1500px"
style: Tip style: Tip
artwork: Artwork artwork: Desen
photo: Imagine photo: Fotografie
noise_reduction: Reducere Noise noise_reduction: Reducere Zgomot
expect_jpeg: Așteaptă artefactele JPEG expect_jpeg: Va crea artefacte de tip JPEG
nr_none: Nu nr_none: Fără
nr_low: Încet nr_low: Slab
nr_medium: Medium nr_medium: Mediu
nr_high: Forțat nr_high: Puternic
nr_highest: Super Forțat nr_highest: Cel Mai Puternic
nr_hint: "Aveți nevoie de reducere de Noise dacă imaginea are Noise efectiv sau poate produce efect opus." nr_hint: "Veți avea nevoie de Reducere Zgomot dacă imaginea are zgomot sau va crea efecte adverse."
upscaling: Upscale upscaling: Lărgire
up_none: Nu up_none: Fără
tta: TTA tta: Augmentare prin Predicție (TTA)
tta_best_effort: "n-pass auto" tta_best_effort: "n-pass auto"
tta_rule: Regulile pentru `n-pass auto`." tta_rule: Arată regulile `n-pass auto`."
tta_hint: "TTA asigură o calitate stabilă dar limitează dimensiunea imaginii sursă." tta_hint: "TTA asigură calitate dar limitează dimensiunele imaginii."
button_convert: Convert button_convert: Convertește
button_download: Descărcare button_download: Descărcă
hints: hints:
- "Dacă folosești Firefox, te rog folosește CTRL+S pentru salvarea imaginii. Opțiunea \"Save Image\" nu funcționează." - "Dacă utilizezi Firefox, te rog să folosește CTRL+S pentru salvarea imaginii. Opțiunea \"Save Image\" nu funcționează."

View file

@ -72,7 +72,7 @@
</a> </a>
/ /
<a href="index.ro.html"> <a href="index.ro.html">
Limba română Română
</a> </a>
</div> </div>
<p><%= t[:description] %></p> <p><%= t[:description] %></p>