got-10k / toolkit

Official Python toolkit for generic object tracking benchmark GOT-10k and beyond
http://got-10k.aitestunion.com/
MIT License
559 stars 95 forks source link

Dataset not found or corrupted. #45

Open iremonur opened 4 years ago

iremonur commented 4 years ago

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 commented 2 years ago

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