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

Downloading taskonomy with download_tnb.sh #182

Open
AnaRisnoveanu opened this issue Mar 8, 2024 · 2 comments
Open

Downloading taskonomy with download_tnb.sh #182

AnaRisnoveanu opened this issue Mar 8, 2024 · 2 comments

Comments

@AnaRisnoveanu
Copy link

AnaRisnoveanu commented Mar 8, 2024

I am having trouble downloading the taskonomy dataset using download_tnb.sh. I created a directory for each of the buildings and ran the file. Now, my files look like this (I will give one filename as example):
dataset/
----benevolence/
--------class_object/
------------point_0_view_0_domain_class_object.npy
--------class_scene/
------------point_0_view_0_domain_class_scene.npy
--------normal/
------------point_0_view_0_domain_normal.npy
--------rgb/
------------point_0_view_0_domain_rgb.png
----other_building/
etc

With this file structure, generate_splits.py looks at wrong files and my splits are empty, for example benevolence.json has "[]" an empty list as entry.

I have been struggling to find the right way to download the data with the correct naming and could really use some help.

@ntraft
Copy link

ntraft commented Mar 8, 2024

I also just tried to download TransNAS-Bench and found the link was broken. However, it is still available via Google Drive. See this issue.

@AnaRisnoveanu
Copy link
Author

AnaRisnoveanu commented Mar 9, 2024

I also just tried to download TransNAS-Bench and found the link was broken. However, it is still available via Google Drive. See this issue.

Hi @ntraft , it turned out I had some network issues so I was blocked from downloading. But I still have issues with the data itself. For example, after the download, I only have one folder rgb/ with the pictures from the dataset "./rgb/point_0_view_0_domain_rgb" while the labels are in a separate folder, "./class_scene/point_0_view_0_domain_class_places.npy". Yet, I get the following error:
File "/home/repo/naslib/utils/taskonomy_dataset.py", line 51, in __getitem__ image = io.imread('.'.join([template.format(domain='rgb'), 'png'])) FileNotFoundError: No such file: '/home/repo/naslib/data/taskonomydata_mini/class_scene/rgb/point_369_view_6_domain_class_places.png'

@AnaRisnoveanu AnaRisnoveanu closed this as not planned Won't fix, can't repro, duplicate, stale Mar 12, 2024
@AnaRisnoveanu AnaRisnoveanu reopened this Mar 12, 2024
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