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

Preprocessing Phoenix 2014 -T #46

Closed
itsjustfons opened this issue Apr 17, 2024 · 2 comments
Closed

Preprocessing Phoenix 2014 -T #46

itsjustfons opened this issue Apr 17, 2024 · 2 comments

Comments

@itsjustfons
Copy link

Currently trying to resize the Phoneix-2014-T dataset. I followed the procedure in making the symbolic link as well as setting the dataset-root to the correct filepath. When I run dataset_preprocess-T.py , the tqdm bars load as usual in the command line like what happens with dataset_preprocess.py. At the end of the process however, none of the images are resized to 256x256. There also is no "256x256 " folder made.

I did some digging and found that line 64 may not be working right
img_list = glob.glob(f"{info_dict['prefix']}/{info['folder']}")``

the variable img_list keeps coming up empty whenever I check it. This is however not the case with dataset_preprocess.py. Is there a fix for this?

@hulianyuyy
Copy link
Owner

You may refer to this issue to check if you have the same problem. Otherwise, you may output the folder of the img_list and see if there are images under it.

@itsjustfons
Copy link
Author

It worked! Thanks

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