-
Notifications
You must be signed in to change notification settings - Fork 48
Description
I try to run code in TUM datasets but get the error message.
Traceback (most recent call last):
File "main.py", line 109, in
run(args)
File "main.py", line 65, in run
loader = create_dataloader(config["dataset"])
File "/home/zhy/PyProject/Python-VO/DataLoader/init.py", line 9, in create_dataloader
loader = eval(code_line)
File "", line 1, in
File "/home/zhy/PyProject/Python-VO/DataLoader/TUMRGBLoader.py", line 32, in init
self.read_imgs()
File "/home/zhy/PyProject/Python-VO/DataLoader/TUMRGBLoader.py", line 76, in read_imgs
rgb_list = lines[:, 1]
IndexError: too many indices for array
I use this code for running:
python main.py --config params/tumrgb_superpoint_supergluematch.yaml
The TUM dataset is organized as follows:
├ TUM
└rgbd_dataset_freiburg1_360
└── depth
└ ...
└── rgb
└ ...
└── depth.txt
└── rgb.txt
└── rgbd_gt.txt
How to fix this error?