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

Dataloader misaligned with PSD dataset #2

Open
JovinLeong opened this issue May 28, 2024 · 1 comment
Open

Dataloader misaligned with PSD dataset #2

JovinLeong opened this issue May 28, 2024 · 1 comment

Comments

@JovinLeong
Copy link

Hi, I'm trying to train SHMGAN on the PSD datasets with main.py, however, it seems like the PSD dataloaders seems to expect a different directory structure with how the PSD dataset that was linked in the README is structured.

Data loader:
image

Actual PSD structure:
image

Could I clarify which dataset I should be using here to reproduce the results in the paper and how best to go about training SHMGAN on both PSD and SHIQ?

@Atif-Anwer
Copy link
Owner

The SHMGAN dataset commented out is our in-house dataset that I acquired using the polar cam (and that has not been released); and that code is there for legacy purposes.

The PSD dataset as far as I remember was only organized into test-train-val groups. For training, the dataset was re-organized into subfolders for each angle. In the PSD_Train/aligned folder, their images are named from 0-12 for a difference of 30 degree angles. Out of these, we only used the 4 as shown in the images above. But the dataset was reorganized into four separate folders, 1 folder for one angle, so that the data loading was easier.
I should have the reorganizing script somewhere but ill have to search a bit.
But i hope this explains the issue.

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