Comments (8)
Hi, the 4221 pairs your downloaded are first split to 2814 training pairs and 1407 testing pairs.
Then we do left-right flip on the 2814 training pairs for data augmentation as indicated in our paper, thus you will get 5628 training pairs. Finally, you will get 5628+1407=7035 pairs. Sorry for the late reply, hope this is helpful to you. If you have any further questions, please let me know. Thanks and good luck.
from c2gan.
Please see the samples (with '_lr.jpg') on how to flip the images.
from c2gan.
In our experiments, each image pair is composed of a neutral and a non-neutral expressions. Thus the neutral expression images are used 7 times since we have 7 non-neutral expressions.
from c2gan.
Thank you for your reply!
I totally understand what you mean. Maybe I didn't make it clear.
In the data set you provide, each face expression has 1005 images (including 0 degrees, 45 degrees, 90 degrees, 135 degrees, 180 degrees) and can indeed lead to 1005 x 7 (7 non-neutral expressions)= 7035 pairs of images, which is consistent with the number mentioned in your paper (5628 images of training set + 1407 images of test set = 7035 images)
But in landmark folder, each face expression has only 603 landmarks (you dropped 0-degree and 180-degree view), so all 0-degree and 180-degree face images cannot be paired with landmark images.
For example, when I feed data to your C2GAN network, it requires 4 images which consist of A, B, landmark_A, landmark_B. But When I want to pair a 0-degree face image with 0-degree landmark image, I cannot find the 0-degree landmark image in the your dataset folder.
For myself, using the dataset you gave, I get up to 603 x 7 = 4221 pairs (which not equals to 7035 as your paper said).
I'm sorry to bother you again with these detail issues. I just want to figure out how many pairs of data you actually used in your experiments?
from c2gan.
Here's the dataset information I downloaded with the script you provided:
└── RaFD_image_landmark
├── RaFD_image (every face expression subfolder has 1005 images)
│ ├── angry
│ ├── contemptuous
│ ├── disgusted
│ ├── fearful
│ ├── happy
│ ├── neutral
│ ├── sad
│ └── surprised
├── RaFD_landmark_figure (every landmark subfolder has 603 images, they cannot form enough pairs with face folders)
│ ├── angry
│ ├── contemptuous
│ ├── disgusted
│ ├── fearful
│ ├── happy
│ ├── neutral
│ ├── sad
│ └── surprised
└── RaFD_landmark_pts
├── angry
├── contemptuous
├── disgusted
├── fearful
├── happy
├── neutral
├── sad
└── surprised
from c2gan.
I will figure it out after ECCV ddl.
from c2gan.
Please help me~!
I need your answer to finish my graduation thesis.
I will wait for you.
from c2gan.
I get it! Thank you very much!
from c2gan.
Related Issues (13)
- Hi, I have seen the article and the coder. I don't know how the concated images in the train/test dir been created? How to get the keypoint images? HOT 3
- How to generate .pts file or extract keypoint from my own image HOT 1
- Training for Market1501
- Undertsanding model behavior for Recovered images during testing HOT 1
- Add SpectralNorm in Discriminator HOT 1
- Er, I downloaded the Radboud Faces Database, but how can I get images like in the RaFD_landmark_figure folder? HOT 6
- RuntimeError: uniform_ expects to return a [from, to) range, but found from=1 > to=0.02 HOT 3
- Testing of images and train for high resolution images HOT 1
- Get wrong result during test phase HOT 4
- abnormal output during training HOT 4
- Why not add L1 loss of Keypoint generator? HOT 3
- Can't dowload pretrain model HOT 1
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 c2gan.