vijaydwivedi75 / lrgb

Long Range Graph Benchmark, NeurIPS 2022 Track on D&B
MIT License
149 stars 18 forks source link

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

Open nsmat opened 1 year ago

nsmat commented 1 year ago

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.