torch_geometric.data.extract_tar

extract_tar(path: str, folder: str, mode: str = 'r:gz', log: bool = True) None[source]

Extracts a tar archive to a specific folder.

Parameters:
  • path (str) – The path to the tar archive.

  • folder (str) – The folder.

  • mode (str, optional) – The compression mode. (default: "r:gz")

  • log (bool, optional) – If False, will not print anything to the console. (default: True)