Comments (6)
这个项目基本上代码就是基于xuan-li的zi2zi-pytorch,然后我把各种loss的权重超参基于原版zi2zi修正了。xuan-li的zi2zi-pytorch网络和原版有变动的是在net_D部分倒数第二层加了个1 x 1的卷积,我测试了一下带或不带这个1 x 1卷积,感觉和原版差距不大;所以我就沿用了这个带1 x 1卷积的,可以加快速度减小模型大小,您可以尝试去掉这个1 x 1卷积试试。
还有一个修改点是我们的数据增强方法是基于Font2Font的,和原版不完全一致,您可以查看一下dataset.py里的DatasetFromObj函数,并尝试修改回原版的数据增强方法。
此外,我们在测试的时候,确实有时候模型会经历“学习”->“崩溃”->"重新学习"这种情况,所以我们目前工作的时候是先生成一堆sample然后看哪个checkpoint的sample最好。暂时我们没时间来修复这个问题,生成效果不佳可能和这个问题也有关系,原作者也说了这网络相当难以训练(哭)。您可以尝试在训练时不只看last_ckpt_sample,也看看别的ckpt的sample,说不定就有哪个ckpt的sample比较好(玄学)
from zi2zi-pytorch.
@cumthxy @EuphoriaYan 请问你们没有遇到,
- 图片转二进制时候:缺少.json文件
- 训练时候output with shape [1, 256, 256] doesn't match the broadcast shape [3, 256, 256]
的问题么
from zi2zi-pytorch.
请问这种是效果好,还是不好,左边是网络自己生成的? 右边是label?
from zi2zi-pytorch.
from zi2zi-pytorch.
@Crescentz ,你要看细节,而不是在这样范范的对比
from zi2zi-pytorch.
最少多少个自己手写字符就可以用来训练模型生成其它字符的手写效果?
from zi2zi-pytorch.
Related Issues (20)
- ‘
- RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR HOT 1
- '
- --src_font {your model\'s source font file} HOT 1
- 为得到字体图片,运行命令python font2img.py --src_font=src.ttf 时报错font2img.py: error: the following arguments are required: --mode 请问这个问题该如何解决呢? HOT 1
- preprocess阶段报错OSError: cannot open resource HOT 1
- 'NoneType' object is not subscriptable HOT 2
- RuntimeError: output with shape [1, 256, 256] doesn't match the broadcast shape [3, 256, 256] HOT 4
- inference请教 HOT 8
- 对比实验
- 最少多少个自己手写字符就可以用来训练模型生成其它字符的手写效果?
- AttributeError: 'NoneType' object has no attribute 'tobytes' HOT 2
- 在第三部训练时出现AssertionError HOT 2
- 最后生成的图片文字不完整 HOT 2
- Why did the code not implement fine_tune and freeze_encoder
- 预训练模型链接过期了能补一下吗 HOT 2
- AttributeError: 'NoneType' object has no attribute 'tobytes' HOT 4
- checkpoint文件夹不存在 HOT 1
- Enhancement Question: Diffusion-based Zi2Zi for both CJK and Latin
- 图片效果不尽人意,请问是数据集的问题吗。
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 zi2zi-pytorch.