Comments (5)
顔の単位で入力されていそう。バッファにはBGR順、0-255で顔が入っているが、DataLoaderでRGB順、0-1に変換される。
入力のレンジ:RGB順、0-1 torch.Size([5, 3, 256, 256])
出力のレンジ:RGB順、0-1 torch.Size([5, 3, 256, 256])
from ailia-models.
ONNXへの変換スクリプト。
x = torch.randn(1, 3, 256, 256, requires_grad=True)
torch.onnx.export(model.netG, # model being run
x, # model input (or a tuple for multiple inputs)
"netG.onnx", # where to save the model (can be a file or file-like object)
opset_version=11, # the ONNX version to export the model to
input_names = ['input'], # the model's input names
output_names = ['output'], # the model's output names
dynamic_axes={'input' : {0 : 'batch_size'}, # variable length axes
'output' : {0 : 'batch_size'}})
from ailia-models.
pix2pixの影響はあまり大きくなく、ghostのほうが画質が綺麗でモデルが更新されているように見える。
from ailia-models.
前回のエクスポートは2022年4月なのでモデルは更新されていなさそう。
#729
https://github.com/ai-forever/ghost/commits/main/download_models.sh
from ailia-models.
ailiaの方のソースイメージの指定が間違って、beckhamではなくelonになってしまっていただけだった。
ソースイメージを修正すると、ailiaとghostの画質は一致した。
ailia(左:no_use_sr、右:use_sr)
from ailia-models.
Related Issues (20)
- ADD AniPortrait
- ADD sdxl-turbo HOT 3
- ModuleNotFoundError: No module named 'fvcore'
- ADD bge-m3 HOT 1
- ADD VISTA (hands-segmentation-pytorch)
- ADD Ego2Hands
- ADD japanese-reranker-cross-encoder-large-v1
- ADD cross-encoder-mmarco-mMiniLMv2-L12-H384-v1 HOT 18
- How to obtain hubert_base.onnx that supports v2 [768]
- ADD BeatNet HOT 1
- ADD kotoba-whisper-v1.0 HOT 3
- Add gradio ui
- READMEにOpen in Colabボタンを追加
- Add phi3-mini HOT 12
- FP16 not working for CLAP HOT 1
- ADD g2p_en
- ADD IDN-VTON
- ADD soundchoice-g2p
- image_pil.thumbnail((w,h), Image.ANTIALIAS) HOT 1
- ADD Anime face detection
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ailia-models.