Comments (2)
hello, have you solved this promble?
I can ues it to fine tune. But the model would be worse after training.
My training config is
python scripts/train.py
--dataset_type my_data_encode
--exp_dir my_model/mye4e
--use_w_pool
--w_discriminator_lambda 0.1
--progressive_start 20000
--id_lambda 0.5
--val_interval 10000
--max_steps 200
--stylegan_size 512
--stylegan_weights pretrained_models/stylegan2-ffhq-config-f.pt
--workers 8
--batch_size 16
--test_batch_size 4
--test_workers 4
--checkpoint_path pretrained_models/e4e_ffhq_encode.pt
from encoder4editing.
Hi @juanluisrosaramos,
Sorry for the long response time,
In case it is still relevant, it seems like the file_path you provide for the stylegan_weights
leads to a non-existing file, perhaps providing the absolute path to the weights file would help.
Also, just making sure that the StyleGAN checkpoint is compatible with rosinality's stylegan2-pytorch implementation, and not the nvidia's pytorch implementation. Last, I believe that the resume_training_from_ckpt
would not yield the desired effect (there is no training information stored in the checkpoints I provided if thats what stored in pretrained_models/e4e_ffhq_encode.pt
), you could use the --checkpoint_path flag to initialize the encoder from the pretrained weights.
As for @LLLPS666 's question - Is the error caused by the wrong stylegan_size
specified? (512 instead of 1024)?
Best,
Omer
from encoder4editing.
Related Issues (20)
- Resume training for cars
- How much time did it take to train on FFHQ? HOT 5
- Inference with sample size >1 fails HOT 1
- How to get figure 2 HOT 1
- Error while running inference.py HOT 2
- Training e4e for 512*256 stylegan HOT 2
- Regarding finding directions in W+ space
- Is released ffhq e4e model trained by inversion task? HOT 1
- whether the code is wrong?
- Stuck on Iteration_0
- Model parameters at other resolutions HOT 2
- How do I train an encoder with a resolution of 256*256 on the FFHQ dataset? HOT 1
- There is a problem with the pre-training weights
- Can I train an encoder using your e4e frame work on a StyleGAN2-ADA pretrained on my own dataset?
- Can I use my own pretrained StyleGAN2-ADA? HOT 1
- Is it possible to get more details in the images?
- is it possible to run this code for gender swap operations ?
- Is it possible to train the encoder which is segmap to face?
- Suggestions on training an encoder on FFHQ-256
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 encoder4editing.