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

Dataset not found or corrupted. #45

Open
iremonur opened this issue Aug 20, 2020 · 1 comment
Open

Dataset not found or corrupted. #45

iremonur opened this issue Aug 20, 2020 · 1 comment

Comments

@iremonur
Copy link

iremonur commented Aug 20, 2020

Hello, i installed GOT-10k dataset and the toolkit and save it to the my drive. I run : pip install -r requirements.txt and move got10k folder to my current direcory. But i tried to loop over GOT-10k dataset, i get an error like : Dataset not found or corrupted. I checked my root_dir (data/GOT-10k) and it is correct. What can cause this error ?
The script i try to run :

from PIL import Image
from got10k.datasets import GOT10k
from got10k.utils.viz import show_frame

dataset = GOT10k(root_dir='data/GOT-10k', subset='train')
img_file, anno = dataset[10]

for s, (img_files, anno) in enumerate(dataset):
seq_name = dataset.seq_names[s]
print('Sequence:', seq_name)

for f, img_file in enumerate(img_files):
    image = Image.open(img_file)
    show_frame(image, anno[f, :])

Python version at the Colab i use is 3.6.5
I would be grateful if you help me about that.

@DirkMagneto
Copy link

Hi, I run into the same problem. Have you sove it yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants