Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use cat-dataset #4

Open
Sakakibaraki opened this issue Jan 17, 2022 · 7 comments
Open

How to use cat-dataset #4

Sakakibaraki opened this issue Jan 17, 2022 · 7 comments

Comments

@Sakakibaraki
Copy link

Hello,
I could train a model with celebA and got good results,
but I wasn't sure how to train a model using the cat-dataset in your paper.

I have already downloaded the data set.
Would you tell me how to use it?

@Sakakibaraki
Copy link
Author

I resolved. Close the issue.

@ESanchezLozano
Copy link
Owner

Sorry for the late reply, I am glad you solved it though :)

@Sakakibaraki
Copy link
Author

Thank you very much for your immediate reply.

I'm sorry. I thought I had solved the problem, but now I can't figure out how to do unsupervised learning of the target. ("Learning the target domain network" in chapter 3)
Is there a code somewhere that I can use to train without using the original annotations of the cat-dataset?

@Sakakibaraki Sakakibaraki reopened this Jan 26, 2022
@ESanchezLozano
Copy link
Owner

Hi,

You don't need the original annotations whatsoever, indeed that's the point of the method being unsupervised!!

The target domain network is the one you will learn in that unsupervised way, with the cats in this case. The original domain network is the one attached to this repo that was trained for human pose estimation.

You only need raw images to train the network on the target domain (cats in this case).

I hope this helps :)

@Sakakibaraki
Copy link
Author

Thank you for your reply.

I thought I had to prepare a file like "list_landmarks_align_celeba.txt" corresponding to the cat dataset, could I be wrong?

@ESanchezLozano
Copy link
Owner

Yes, the landmarks for the celeba are just used to crop the images without using a face detector because the images might not be cropped. For the cats dataset, if the heads are already cropped which I remember to be the case, you don't need to do that

@Sakakibaraki
Copy link
Author

Sakakibaraki commented Feb 1, 2022

Sorry, I was trying a few things and I'm late in replying.

I think I need to define the point as well as the filename of the image for the database (in databases.py, collect() returns image, points),
what should I specify there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants