Comments (3)
It seems that your data is incorrect. Please follow readme and generate the correct data.
Download CelebAHQ-Mask dataset. Generate
CelebAMask-HQ-mask
andCelebAMask-HQ-mask-color
with the provided scripts in CelebAMask-HQ/face_parsing/Data_preprocessing/.
After that, put the folder CelebAMask-HQ-mask
and CelebAMask-HQ-mask-color
under ../datasets/CelebAMask-HQ
from psfrgan.
It seems that your data is incorrect. Please follow readme and generate the correct data.
Download CelebAHQ-Mask dataset. Generate
CelebAMask-HQ-mask
andCelebAMask-HQ-mask-color
with the provided scripts in CelebAMask-HQ/face_parsing/Data_preprocessing/.After that, put the folder
CelebAMask-HQ-mask
andCelebAMask-HQ-mask-color
under../datasets/CelebAMask-HQ
Many thanks!I have another question: when I finished generating 'CelebAMask-HQ-mask' , is the next step to run 'g_color.py’ directly?
When I run 'g_color.py' , I met a error : NameError : name 'im_base' is not defined. Do you know how to fix it?
from psfrgan.
Actually, training FPN does not need the colored mask. Please refer to the code:
PSFRGAN/data/celebahqmask_dataset.py
Lines 28 to 29 in 82a8755
You may simply put the generated mask folder CelebAMask-HQ-mask
and corresponding image folder CelebA-HQ-img
under the dataroot
.
from psfrgan.
Related Issues (20)
- Segmentation fault (core dumped) HOT 3
- Cuda ran out of memory. HOT 2
- Enhanced face not blending properly(?) HOT 2
- did you train more big input HOT 1
- some question HOT 2
- about the ground truth images HOT 2
- About CelebAHQ-Test HOT 1
- what's F0 in the paper? HOT 3
- 测试FPN时遇到了一个问题 HOT 1
- where can I download the dataset “PSFR-RealTest”? HOT 1
- Thank you for your work. After I retrained netG, there are obvious boundaries on the edges of the face HOT 1
- 测试FPN时需要psfrgan_epoch15_net_G.pth吗 HOT 1
- Is there a method to obtain '.mat' semantic segmentation files from this code instead of 'jpg' files HOT 3
- obtain '.mat' semantic segmentation files from this code instead of 'jpg' files. Here I get the output '.mat' file as a 4-D Uint8 output. Is there a way to get a 2-D int32 output ".mat" file.
- 您好,请问怎么把generate_mask的过程中的LR的图像保存下来 HOT 1
- 你好,该方法与其他超分辨率方法比较时是如何设置的。
- FID code HOT 1
- CelebAHQ-Test HOT 1
- Some trouble when using 128x128 shape of image. HOT 2
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 psfrgan.