Tramac / awesome-semantic-segmentation-pytorch

Semantic Segmentation on PyTorch (include FCN, PSPNet, Deeplabv3, Deeplabv3+, DANet, DenseASPP, BiSeNet, EncNet, DUNet, ICNet, ENet, OCNet, CCNet, PSANet, CGNet, ESPNet, LEDNet, DFANet)
Apache License 2.0
2.8k stars 581 forks source link

Error in downloading dataset #152

Open Kittywyk opened 3 years ago

Kittywyk commented 3 years ago

I ran "python pascal_voc.py --download-dir .../datasets/voc" to download voc dataset, and the dataset was successfully downloaded. But then the error occured, "NotADirectoryError: [Errno 20] Not a directory: '.../datasets/voc/VOCdevkit' ". Is there anyone can help me? What should I do? Thanks a lot!

Tramac commented 3 years ago

Please try .../datasets/voc/VOCdevkit -> ../datasets/voc/VOCdevkit.

bbbts commented 1 month ago

Please try .../datasets/voc/VOCdevkit -> ../datasets/voc/VOCdevkit.

I tried the same thing and my pascal_voc dataset is downloaded here (in the core/data folder)- image And here is how it looks(in the core/data/datasets/voc/VOCdevkit) - image

@Tramac @Kittywyk Please let me know how I should modify the pascal_voc.py file (that is in the dataloader folder) (I mean what do I write in place of :- root='../datasets/voc' ??according to how my dataset is structured in the directory) - image