Skip to content

Path Specification in compute_fid_statistics.py for --file Argument #1

Description

@uha225

I initially encountered a path error in executing the preprocessing step compute_fid_statistics.py when specifying the --file argument with both the directory and filename for CIFAR-10 (cifar10.npz). However, when I used just the filename (cifar10.npz without the directory path), the FID statistics were saved successfully. Please confirm if the filename in the following command includes the full path by mistake.
python compute_fid_statistics.py --path /src/data/CIFAR-10/cifar10.zip --file /src/data/CIFAR-10/cifar10.npz
It works with the following modification.
python compute_fid_statistics.py --path /src/data/CIFAR-10/cifar10.zip --file cifar10.npz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions