question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`find` is not exposed in `torchvision.prototype.datasets`

See original GitHub issue

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
pmeiercommented, Oct 29, 2021

I would say no and would prefer datasets.info("imagenet").categories. This is intentionally exposed to get this information without havijg to touch the raw dataset object.

0reactions
datumboxcommented, Oct 29, 2021

Hmm… So is the following comment correct? Is it the preferred way to fetch this info? https://github.com/pytorch/vision/blob/9528d963c692ede74a530845cc86476facc875c5/torchvision/prototype/models/_meta.py#L6

Read more comments on GitHub >

github_iconTop Results From Across the Web

TorchVision Object Detection Finetuning Tutorial - PyTorch
The model considers class 0 as background. If your dataset does not contain the background class, you should not have 0 in your...
Read more >
Getting Started with Albumentation: Deep Learning Image ...
My go-to python framework for deep learning has been Pytorch, so I have been initially exposed to the usage of torchvision.transforms that are ......
Read more >
Transfer Learning for Image Classification using Torchvision ...
You'll build a dataset of images in a format suitable for working with Torchvision. Get predictions on images from the wild (downloaded from ......
Read more >
Pytorch - Can not slice torchvision MNIST dataset
You can use torch.utils.data.Subset() to get an index based slice of a torch Dataset e.g: import torch.utils.data as data_utils indices ...
Read more >
8 Creators and Core Contributors Talk About Their Model ...
Instead, we expose numerous components known from PyTorch. As a user, you can use PyTorch's Dataset (think torchvision, including TTA), ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found