Skip to content

TFDS load creates directory literally named "~" #4117

Open
@martin-gorner

Description

@martin-gorner

Repro snippet:

Please cd into a directory that is NOT your home directory ~ before running

tfds.load(name="caltech_birds2011", shuffle_files=True)

Result: a directory literally named '~' is created in the current directory, in addition to the ~/tensorflow_datasets directory that is correctly created in the user's home dir . Files are then created under this bizarre '' dir making them very difficult to locate. This seems to be happening during the decompression or tfrecords generation process.

  • Operating System: Linux (Vertex AI Workbench default)

  • Python version: 3.6

  • tensorflow-datasets/tfds-nightly version: 4.6.0

  • tensorflow/tf-nightly version: 2.9.1

  • Does the issue still exists with the last tfds-nightly package (pip install --upgrade tfds-nightly) YES

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions