Comments (4)
@melody-rain we reproduced results several times in different experiments using this code. Can you provide more bug report in more details? Thanks in advance
from mobilestylegan.pytorch.
@bes-dev hi. I just trained mobile-stylegan_ffhq-512(512 is the size of the generated images) with your code. The teacher model is the pytorch one converted from official tensorflow model. There was nothing changed any more. When training the loss is sometimes like loss=3.18e+04.
BTW, I added gradient_clip_val=1.0 to pl.Trainer(), the problem does not exist any longer, and I can successfully train mobile-stylegan_ffhq-512.
Many thanks to your work.
from mobilestylegan.pytorch.
@bes-dev hi. I just trained mobile-stylegan_ffhq-512(512 is the size of the generated images) with your code. The teacher model is the pytorch one converted from official tensorflow model. There was nothing changed any more. When training the loss is sometimes like loss=3.18e+04.
BTW, I added gradient_clip_val=1.0 to pl.Trainer(), the problem does not exist any longer, and I can successfully train mobile-stylegan_ffhq-512.
Many thanks to your work.
Did you reproduce the desired results?
In my training, "kid_val' value decreases at the beginning, but it increases after sevel iterations and logs "kid_val was not in top True".
Many thanks. WAIT FOR YOUR REPLY.
from mobilestylegan.pytorch.
@melody-rain we reproduced results several times in different experiments using this code. Can you provide more bug report in more details? Thanks in advance
Can you give an overview of your experimental environment?
For example: cuda version
torch version
gcc version
When I use cuda10, the loss is easy to nan, but when I switch to cuda11, it is ok. @ZYzhouya
However, I used cuda11 + pytorch 1.7 + gcc5.4 + ubuntu16.04, and used your code and cfg file + 4 2080ti.
After training for 5 days, it still can't reach your effect.
Do you have any advice
from mobilestylegan.pytorch.
Related Issues (20)
- model_zoo.json need an update HOT 1
- How to return latents from MobileStyleGAN like those in StyleGAN2? HOT 4
- conversion to coreml doesn't work HOT 3
- A few questions HOT 1
- Can MobileStyleGAN be deployed as openvino with fp16 accuracy? HOT 2
- MobileStyleGAN Checkpoint converted to ONNX generates grey images
- Is there a Pytorch Lite version? HOT 2
- Project dependencies may have API risk issues
- Can this be used inside GFP - GAN? HOT 4
- support stylespace HOT 1
- Smaller images look interesting! HOT 1
- Doubts about ckpt HOT 1
- Image to image translation like CycleGAN
- Curious about the gan inversion of mobile-stylegan
- Finetuning of student network?
- question about replace stygan2 decoder in other gan network
- How can we do projection, interpolation and style mix with this model?
- iStyleGAN video thank you HOT 1
- Hello, could you please tell me where I should place the pre-trained model "stylegan2_ffhq_config_f_mapping_network.ckpt"?
- About batch_size during training
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 mobilestylegan.pytorch.