torch_concepts.data.io.extract_tar

extract_tar(path: str, folder: str, verbose: bool = True)[source]

Extract a tar (or tar.gz) archive to a specific folder.

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

  • folder – The destination folder.

  • verbose – If False, will not show progress bars (default: True).