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

Import images with paths.txt file in unaligned mode #589

Open
JulienKszb opened this issue Dec 1, 2023 · 2 comments
Open

Import images with paths.txt file in unaligned mode #589

JulienKszb opened this issue Dec 1, 2023 · 2 comments

Comments

@JulienKszb
Copy link

JulienKszb commented Dec 1, 2023

Hello,

I have a training in unaligned mode. As I understand, the structure of the dataset directory should be like this :

domainA2domainB/
    trainA/
        image_a1.jpg
        image_a2.jpg
        ...
    trainB/
        image_b1.jpg
        image_b2.jpg
        ...

I would be interested in importing images using paths.txt files as follows:

domainA2domainB/
    trainA/
        paths.txt
    trainB/
        paths.txt

For now it is not working and it will be interesting given my infra. Is it possible to add this feature without too much effort?

@beniz
Copy link
Contributor

beniz commented Dec 1, 2023

Hi, you can easily implement it here: https://github.com/jolibrain/joliGEN/blob/master/data/unaligned_dataset.py
from looking at https://github.com/jolibrain/joliGEN/blob/master/data/unaligned_labeled_mask_dataset.py
If it works you can PR it :)

@JulienKszb
Copy link
Author

Thank you, I will have look at it !

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