Comments (6)
Hello @fchollet!
@Korusuke and I were working on the notebook for the StyleGAN2 implementation, and we had a question about how you want the notebook to be structured. Because many Keras examples focus a lot on the explanations, we thought it would be difficult to create a high-level description of the underlying networks behind StyleGAN. Additionally, the large amount of code required to train the network and the fact that neither Korusuke nor I can test the training code due to hardware restrictions has led us to a proposal.
Would it be okay if the notebook and python file just loaded a pretrained pickle file containing the weights for StyleGAN, and then just explained the generator part of it?
Another issue we ran into is the sheer amount of code required to make StyleGAN inferencing work. The code is roughly 700 lines, and because of the 300 line limit for examples, we weren't entirely sure how to proceed.
Please let me know when you get a moment!
from keras-io.
Would it be okay if the notebook and python file just loaded a pretrained pickle file containing the weights for StyleGAN, and then just explained the generator part of it?
The code should show the end-to-end workflow, including training. But when it comes to demonstrating the model (towards the end), you can just load an existing weights file. The purpose of the example is to enable someone else to get started with training their own version of the model on a new dataset (and then use it).
Another issue we ran into is the sheer amount of code required to make StyleGAN inferencing work. The code is roughly 700 lines, and because of the 300 line limit for examples, we weren't entirely sure how to proceed.
300 is not necessarily a hard limit if the code is already very concise. We could go up to 500. Over 500 is definitely not suitable for keras.io (and it should probably be a multi-file project).
Please try to make it as short and concise and readable as possible. If you still really cannot go below 500, then I would encourage you to publish as a standalone GitHub repo rather than a keras.io code example.
Thank you!
PS: prefer email to contact me, I don't get GitHub notifications
from keras-io.
Is there any update on this? Your name is still associated with the outstanding work item.
from keras-io.
Hi, Could you please update on this request.
Also, could you please take a look into the below StleGAN based examples published, Thanks!
https://keras.io/search.html?query=StyleGan
from keras-io.
This issue is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you.
from keras-io.
This issue was closed because it has been inactive for 28 days. Please reopen if you'd like to work on this further.
from keras-io.
Related Issues (20)
- Could not find TensorRT HOT 3
- Error occurred in the Named Entity Recognition using Transformers example HOT 6
- Support Distributed Training for Fine-tuning Stable Diffusion Example HOT 5
- kagglecatsanddogs_5340.zip not available to downoad - image_classification_from_scratch.py HOT 4
- Problem with training yolov8 on TPU
- model not converging the sparse categorical accuracy stays same for the whole epochs. HOT 6
- batch out of range & loss value becomes 'nan' when running monocular depth estimation HOT 6
- How to make individual predictions using the FNet example? HOT 4
- Multi-GPU distributed training with PyTorch
- [Movielens Example] Impossibile to save model: Cannot serialize object Ellipsis HOT 4
- TypeError: Sampler.__call__() got an unexpected keyword argument 'end_token_id' HOT 2
- ValueError: The filepath provided must end in `.keras` (Keras model format). Received: filepath=Model_ckpt.h5 HOT 10
- Hardware requirement for examples/rl/deep_q_network_breakout.py? HOT 5
- bayesian_neural_networks failed with Mixed Precision enabled HOT 3
- Would it be possible to make lstm_seq2seq support mixed precision? HOT 1
- Will it be a good Idea to add a tutorial to train a Image Classification suing ViT using CLS token. HOT 2
- Cannot export a slightly customized XLMRoberta model from keras_nlp HOT 1
- tutorial bug in consistency_training HOT 4
- Help runing the lastest version of ".\examples\vision\captcha_ocr.py" HOT 1
- Timeseries Classification Transformer: Last -> First HOT 4
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 keras-io.