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

Ordering of pascal data in torch_geometric.data.lrgb.datasets #11

Open
nsmat opened this issue May 8, 2023 · 0 comments
Open

Ordering of pascal data in torch_geometric.data.lrgb.datasets #11

nsmat opened this issue May 8, 2023 · 0 comments

Comments

@nsmat
Copy link

nsmat commented May 8, 2023

I am trying to work with the Pascal superpixel dataset. To avoid reprocessing the data, I used the Dataset class provided in torch_geometric ( https://pytorch-geometric.readthedocs.io/en/latest/_modules/torch_geometric/datasets/lrgb.html ).

I am trying to overlay the graphs on top of their corresponding images in the original dataset, which I downloaded from http://www.eecs.berkeley.edu/Research/Projects/CS/vision/grouping/semantic_contours/benchmark.tgz . However, I cannot figure out which images in this dataset correspond to which graphs in the other dataset.

For example, the first image in the Pascal validation dataset has dimensions (333, 500), but the maximum (x, y) coordinates in the graph of the first image from the torch_geometric Dataset are (492, 367). Do these correspond to different images, or am I misunderstanding how the coordinates are calculated?

Apologies if this is the wrong place to ask this! I appreciate any help you can offer.

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

1 participant