gammagl.datasets.Flickr¶
- class Flickr(root: str | None = None, transform: Callable | None = None, pre_transform: Callable | None = None, force_reload: bool = False)[source]¶
The Flickr dataset from the “GraphSAINT: Graph Sampling Based Inductive Learning Method” paper, containing descriptions and common properties of images.
- Parameters:
root (str, optional) – Root directory where the dataset should be saved.
transform (callable, optional) – A function/transform that takes in an
gammagl.data.Graph
object and returns a transformed version. The data object will be transformed before every access. (default:None
)pre_transform (callable, optional) – A function/transform that takes in an
gammagl.data.Graph
object and returns a transformed version. The data object will be transformed before being saved to disk. (default:None
)(bool (force_reload) – (default:
False
)optional) (Whether to re-process the dataset.) – (default:
False
)
Tip
#nodes
#edges
#features
#classes
89,250
899,756
500
7
- url = 'https://docs.google.com/uc?export=download&id={}&confirm=t'¶
- adj_full_id = '1crmsTbd1-2sEXsGwa2IKnIB7Zd3TmUsy'¶
- feats_id = '1join-XdvX3anJU_MLVtick7MgeAQiWIZ'¶
- class_map_id = '1uxIkbtg5drHTsKt-PAsZZ4_yJmgFmle9'¶
- role_id = '1htXCtuktuCW8TR8KiKfrFDAxUgekQoV7'¶
- property raw_file_names: List[str]¶
The name of the files in the
self.raw_dir
folder that must be present in order to skip downloading.