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

Generating images with IC-GAN and using my own dataset #33

Open
BehzadBozorgtabar opened this issue Jun 13, 2022 · 1 comment
Open

Generating images with IC-GAN and using my own dataset #33

BehzadBozorgtabar opened this issue Jun 13, 2022 · 1 comment

Comments

@BehzadBozorgtabar
Copy link

Hi,

I followed the instructions to extract the features from my own test images and format the dataset to get the hdf5 files as explained in "Other datasets", and only could generate hdf5 files in the format of [dataset_name][resolution]feats[feature_extractor]_resnet50.hdf5 not the other two.
My question is how to generate images using these generated instances features (in .hdf5 format)? How should generate.images.py be modified for image generation using my own test data? Can you please clarify this part?

Thanks

@ArantxaCasanova
Copy link
Contributor

Hello, what do you mean by "the other two"? Can you please specify which files are you referring to?

You could modify generate_images.py here to load instead the feature vectors from [dataset_name][resolution]feats[feature_extractor]_resnet50.hdf5. Some inspiration to do that, here, where root_feats would be the path to your features in hdf5 format.

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