pytorch / pytorch/vision

'download=True' condition for more than 1 SBD dataset stops code cause of shutil

Open
#3,316 1 comment 0 reactions 1 assignee View on GitHub

@pmeier is already working on this.

Since Mar 11, 2021.

bug module: datasets
Dominant language
Python
Stars
17.9k
Forks
7.3k
Avg merge
1d 15h
Merged PRs (30d)
13

Description

'download=True' condition for more than 1 dataset stops code cause of shutil

I always code dataset and dataloader as below

image

But at this time, dealing with SBD dataset, I get stucked as below

image

I saw the torchvision dataset source code and documentation, I think it would be more helpful and friendly to other users if

  • edit code that check the folders are in or not
  • or just add information on the documentation that 'download=True' more than 1 can occur error in SBD dataset

image

image

I know it's trivial but hope someone else like me don't get suffered from :)

cc @pmeier

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.