You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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)
Python version at the Colab i use is 3.6.5
I would be grateful if you help me about that.
The text was updated successfully, but these errors were encountered: