Skip to content

error of omniglot_dataset.py #28

@bbcenglish

Description

@bbcenglish

When i run the programe: how can i solve it?

opt = get_parser().parse_args()
mode = "train"
OmniglotDataset(mode=mode, root=opt.dataset_root)

== Downloading https://raw.githubusercontent.com/jakesnell/prototypical-networks/master/data/omniglot/splits/vinyals/test.txt
Traceback (most recent call last):

File "", line 1, in
dataset = OmniglotDataset(mode=mode, root=opt.dataset_root)

File "C:\Users\lenovo\Desktop\Prototypical-Networks-for-Few-shot-Learning-PyTorch-master\src\omniglot_dataset.py", line 50, in init
self.download()

File "C:\Users\lenovo\Desktop\Prototypical-Networks-for-Few-shot-Learning-PyTorch-master\src\omniglot_dataset.py", line 113, in download
with open(file_path, 'wb') as f:

OSError: [Errno 22] Invalid argument: '..\dataset\splits\vinyals\https://raw.githubusercontent.com/jakesnell/prototypical-networks/master/data/omniglot/splits/vinyals/test.txt'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions