cyrilzakka / stylegan2-tpu Goto Github PK
View Code? Open in Web Editor NEWStyleGAN2 but rewritten for TPUs.
License: Other
StyleGAN2 but rewritten for TPUs.
License: Other
Please, share the training notebook for the custom dataset.
While trying to train I keep getting this error
File "/content/stylegan2-tpu/dnnlib/tflib/autosummary.py", line 116, in image_grid (grid_shape, int(input_tensor.shape[0]))) ValueError: Grid shape (3, 3) incompatible with minibatch size 8.
First I tried with a larger batch size but kept getting File "/tensorflow-1.15.2/python3.7/tensorflow_core/python/framework/ops.py", line 1748, in __init__ self._traceback = tf_stack.extract_stack()
this error. So I googled around and got to know that its an overflow error. So i set the BATCH_PER
to 1 and tried training again but now I'm getting the incompatible minibatch size error mentioned above.
Please let me know if I'm doing anything wrong. Or the grid size to save is somehow hardcoded and not working with the new BATCH_PER
size. I'm using image size to be 256x256
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.