jiyegege / animeganv2_tensorflow2 Goto Github PK
View Code? Open in Web Editor NEWImplementing AnimeGANv2 with Tensorflow2
Implementing AnimeGANv2 with Tensorflow2
cuda 11.2
cudnn 8.2.1
tensorflow 2.8
Thank you very much for your work, I did some attempts to convert from animeganv2_tf1 to tf2 before but failed.
But there is a question I want to ask. How many epochs you have trained to achieve your training results?
My results after 400 epochs are still poor, I don't know if it's a configuration issue or something else.
According to the generator's style loss provided by https://github.com/TachibanaYoshino/AnimeGANv2/blob/617ab10ce21877df90c9cf2b705712bc81b1e2e6/tools/ops.py
Maybe function gram() should be expressed like:
feat = tf.linalg.einsum('bijc,bijd->bcd', x, x)
num_locations = tf.math.reduce_prod(x.shape[1:])
num_locations = tf.cast(num_locations, dtype=tf.float32)
feat = feat/num_locations
Otherwise, it may cause generator gradient explosion, and difficult to achieve Antagonism effect
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.