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

Argoverse-tracking-tutorial data loading issue #300

Open
Adeelbek opened this issue Apr 4, 2022 · 0 comments
Open

Argoverse-tracking-tutorial data loading issue #300

Adeelbek opened this issue Apr 4, 2022 · 0 comments

Comments

@Adeelbek
Copy link

Adeelbek commented Apr 4, 2022

Hello there,
Thanks for sharing this fascinating dataset. It must have taken tremendous effort and time to shape this data into current form.
I wanted to visualize the training images with 3d bbox and annotation. To do so, I just followed argoverse_tracking_tutorial located in demo_usage folder. Before running this notebook, I downloaded train-000.tar from train part 1 link. I changed root_dir to the directory where I downloaded and then extracted train-000.tar (extracted folder is sensor). When I run the code that is given in the initial cell of argoverse_tracking_tutorial

from argoverse.data_loading.argoverse_tracking_loader import ArgoverseTrackingLoader

##set root_dir to the correct path to your dataset folder
root_dir =  '/home/server63/Projects/argoverse/sensor/train/'

argoverse_loader = ArgoverseTrackingLoader(root_dir)

print('Total number of logs:',len(argoverse_loader))
argoverse_loader.print_all()

I got following error:

---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
/tmp/ipykernel_6203/2925667375.py in <module>
      5 root_dir =  '/home/server63/Projects/argoverse/sensor/train/'
      6 
----> 7 argoverse_loader = ArgoverseTrackingLoader(root_dir)
      8 
      9 print('Total number of logs:',len(argoverse_loader))

~/Projects/argoverse/argoverse-api/argoverse/data_loading/argoverse_tracking_loader.py in __init__(self, root_dir)
     43         self.root_dir: str = root_dir
     44 
---> 45         self.current_log = self.log_list[self.counter]
     46 
     47         assert self.image_list is not None

IndexError: list index out of range

Is there any special approach required while downloading or saving the training dataset ?
Or do I have to download all 14 training part to be able to run this notebook?

Thanks again for amazing dataset and kind support!

@Adeelbek Adeelbek changed the title Argovesre-tracking-tutorial data loading issue Argoverse-tracking-tutorial data loading issue Apr 4, 2022
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

1 participant