Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot construct TileDataset #43

Closed
Michaelsqj opened this issue Jun 16, 2020 · 0 comments · Fixed by #46
Closed

Cannot construct TileDataset #43

Michaelsqj opened this issue Jun 16, 2020 · 0 comments · Fixed by #46
Assignees
Labels
bug Something isn't working

Comments

@Michaelsqj
Copy link
Contributor

Hi, Dr. Lin, I think if the dataset returned here

dataset = get_dataset(cfg, augmentor, mode)

by get_dataset() is a TileDataset, the dataloader might not be able to be constructed from it. Since _len_(), and _get_item_() is not defined in TileDataset, unless
def updatechunk(self, do_load=True):

is called and construct the dataloader from a VolumeDataset. I haven't used TileDataset, please correct me if I'm wrong.

@zudi-lin zudi-lin self-assigned this Jun 16, 2020
@zudi-lin zudi-lin added the bug Something isn't working label Jun 16, 2020
@zudi-lin zudi-lin changed the title questions about TileDataset Cannot construct TileDataset Jun 17, 2020
This was unlinked from pull requests Jun 27, 2020
@zudi-lin zudi-lin linked a pull request Jun 27, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants