huailiang / face-nn Goto Github PK
View Code? Open in Web Editor NEW游戏捏脸,基于神经风格迁移框架生成逼真人脸
Home Page: https://huailiang.github.io/blog/2019/face/
License: MIT License
游戏捏脸,基于神经风格迁移框架生成逼真人脸
Home Page: https://huailiang.github.io/blog/2019/face/
License: MIT License
CFUtilPoolLib.dll主要处理的是哪个过程?
没有数据集啊,如果纯做测试,跑哪个代码啊
请问下这个../dat/79999_iter.pth是怎么来的呢
File "evaluate.py", line 130, in <module> img_1 = faceparsing_ndarray(image, '../dat/79999_iter.pth', cuda) File "evaluate.py", line 91, in faceparsing_ndarray build_net(cp, cuda) File "evaluate.py", line 81, in build_net _net_, _to_tensor_ = _build_net(cp, cuda) File "evaluate.py", line 61, in _build_net net.load_state_dict(torch.load(cp, map_location="cpu")) File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/torch/serialization.py", line 382, in load f = open(f, 'rb') FileNotFoundError: [Errno 2] No such file or directory: '../dat/79999_iter.pth'
想问下evaluate 这个阶段的操作没有开源嘛?
Hi,when I do inference, it has errors like this:size mismatch for 0.0.weight: copying a param with shape torch.Size([95, 512, 4, 4]) from checkpoint, the shape in current model is torch.Size([99, 512, 4, 4]). If I change params_cnt from 99 to 95, it will has a new error:index 96 is out of bounds for dimension 1 with size 95, because of self.argmax_params(t_params.data, 96, 3). What should I do? Changing argmax_param or could you please share model which is 99 dimension. Looking forward to your reply!@huailiang
ERROR: Could not find a version that satisfies the requirement lightcnn (from versions: none
)
ERROR: No matching distribution found for lightcnn
这里是不是应该把模型参数导入进来?新手玩家,问题太简单,多多谅解,麻烦了!
直接用res/cp/resnet18-5c106cde.pth么
添加新的人物模型资源,制作更丰富的数据,好奇素材怎么准备,需要用到什么工具。 刚做这个,摸索中。
我在按照Readme文件中进行训练时,在
Line 44 in b931494
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe1 in position 0: invalid continuation byte
请教下,为啥您不是训练extractor_model(从image 到param),而是训练从param到image啊。
您好,我下载了您的代码以及在readme.md中所提到的所有模型,并且尝试以evaluate模式运行代码。但是发现还是提示少了"79999_iter.pth"这个模型文件。请问您可以分享给我这个模型文件吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.