torch_geometric.datasets.OSE_GVCS
- class OSE_GVCS(root: str, transform: Optional[Callable] = None, pre_transform: Optional[Callable] = None, force_reload: bool = False)[source]
Bases:
InMemoryDatasetA dataset describing the Product ecology of the Open Source Ecology’s iconoclastic Global Village Construction Set. GVCS is a modular, DIY, low-cost set of blueprints that enables the fabrication of the 50 different industrial machines that it takes to build a small, sustainable civilization with modern comforts.
The dataset contains a heterogenous graphs with 50
machinenodes, composing the GVCS, and 290 directed edges, each representing one out of three relationships between machines.- Parameters:
root (str) – Root directory where the dataset should be saved.
transform (callable, optional) – A function/transform that takes in an
torch_geometric.data.HeteroDataobject 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
torch_geometric.data.HeteroDataobject and returns a transformed version. The data object will be transformed before being saved to disk. (default:None)force_reload (bool, optional) – Whether to re-process the dataset. (default:
False)