Closed rotem154154 closed 2 years ago
Hi @rotem154154
There's no reason to use an ImageFolder
if you don't have any labels at all.
ImageFolder
returns samples and labels according to the folder of each class. I used ImageFolder to access the source labels.
i'm trying to transfer dataset that has labels to simular dataset without labels like in this example https://www.youtube.com/watch?v=9d4jmPmTWmc&t=570s from the code that load the datasets its look like both the source and target dataset supposed to have labels. https://github.com/NaJaeMin92/FixBi/blob/3c986946fd1582cc0e59510115d5c2e1d307b412/src/dataset.py#L23