Giter Club home page Giter Club logo

Comments (8)

Ha0Tang avatar Ha0Tang commented on May 26, 2024 1

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.

Ha0Tang avatar Ha0Tang commented on May 26, 2024 1

Please see the samples (with '_lr.jpg') on how to flip the images.

from c2gan.

Ha0Tang avatar Ha0Tang commented on May 26, 2024

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.

sitadivon avatar sitadivon commented on May 26, 2024

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.

sitadivon avatar sitadivon commented on May 26, 2024

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.

Ha0Tang avatar Ha0Tang commented on May 26, 2024

I will figure it out after ECCV ddl.

from c2gan.

sitadivon avatar sitadivon commented on May 26, 2024

Please help me~!
I need your answer to finish my graduation thesis.
I will wait for you.

from c2gan.

sitadivon avatar sitadivon commented on May 26, 2024

I get it! Thank you very much!

from c2gan.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.