Comments (5)
@wry123456
I would be very happy if you could share how to do this.
from stylegan2-ada-pytorch.
@wry123456 I would be very happy if you could share how to do this.
if your dataset is gratscale, you can delete the last dimesion of image by
addingimg = np.squeeze(img, axis=3)
in line 121
it will solve this problem
from stylegan2-ada-pytorch.
Is your pickle trained on greyscale or RGB images?
from stylegan2-ada-pytorch.
您的泡菜是否经过了灰度或RGB图像训练?
thanks for your hints. My training set data is grayscale images, and I modified the way the images are saved in the generation code. It can be run.
from stylegan2-ada-pytorch.
FWIW, I also has to change the "RGB" string in the (original) line 121 to "L" for it to work.
from stylegan2-ada-pytorch.
Related Issues (20)
- SLERP implementation
- Is StyleGAN2 supposed to project "consistently"? HOT 1
- The image quality generated using the official website's pkl file is poor HOT 2
- Non-square Images? HOT 1
- Error while training on Custom dataset HOT 2
- ImportError: No module named *_plugin... HOT 2
- Questions about ADA
- Assertion Error in : images.ndim==4 is not true for the given dataset in github. HOT 1
- Why does the fakes image generated during the training process have a purple background HOT 1
- RuntimeError: The size of tensor a (1024) must match the size of tensor b (512) at non-singleton dimension 1
- Process real images HOT 1
- How to compute the model complexity?
- how to style?
- Error: no such option: --projected_w
- GAN model
- I have one question...
- cudatoolkit, cudnn, pytorch and python compatibility on Windows 11
- How I can derive ResNet model weight from the pre-trained LPIPS weights
- Training FFHQR dataset using FFHQ dataset as input
- Is there any way to control the python workers on Stylegan2
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 stylegan2-ada-pytorch.