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

IndexError: list index out of range #45

Open
Crush1111 opened this issue Nov 29, 2023 · 0 comments
Open

IndexError: list index out of range #45

Crush1111 opened this issue Nov 29, 2023 · 0 comments

Comments

@Crush1111
Copy link

using data from ['block_1']
[]
0
Traceback (most recent call last):
File "/home/songjiali/LandMark/app/trainer.py", line 664, in
train(init_args)
File "/home/songjiali/LandMark/app/trainer.py", line 106, in train
train_dataset, test_dataset = prep_dataset(enable_lpips, args)
File "/home/songjiali/LandMark/app/tools/train_utils.py", line 162, in prep_dataset
test_dataset = dataset(
File "/home/songjiali/LandMark/app/tools/dataloader/city_dataset.py", line 30, in init
self.read_meta()
File "/home/songjiali/LandMark/app/tools/dataloader/city_dataset.py", line 36, in read_meta
meta = load_json_drone_data(
File "/home/songjiali/LandMark/app/tools/dataloader/ray_utils.py", line 145, in load_json_drone_data
poses = np.stack([np.array(frame["transform_matrix"]) for frame in meta["frames"]])
File "<array_function internals>", line 200, in stack
File "/home/songjiali/anaconda3/envs/landmark/lib/python3.9/site-packages/numpy/core/shape_base.py", line 466, in stack
print(arrays[0].ndim)
IndexError: list index out of range

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