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 #48

Open
wudidecc opened this issue Oct 30, 2022 · 1 comment
Open

IndexError #48

wudidecc opened this issue Oct 30, 2022 · 1 comment

Comments

@wudidecc
Copy link

After running train_transformed_rays, there is an error during running eval_transformed_rays:

Traceback (most recent call last):
File "eval_transformed_rays.py", line 522, in
main()
File "eval_transformed_rays.py", line 459, in main
latent_code = latent_codes[index_of_image_after_train_shuffle].to(device) if use_latent_code else None
IndexError: index 1150 is out of bounds for dimension 0 with size 100

Do you have the idea how to fix this?

Thanks in advance!

@wuzuyin
Copy link

wuzuyin commented Oct 7, 2023

After running train_transformed_rays, there is an error during running eval_transformed_rays:

Traceback (most recent call last): File "eval_transformed_rays.py", line 522, in main() File "eval_transformed_rays.py", line 459, in main latent_code = latent_codes[index_of_image_after_train_shuffle].to(device) if use_latent_code else None IndexError: index 1150 is out of bounds for dimension 0 with size 100

Do you have the idea how to fix this?

Thanks in advance!

I have also encountered the same problem. Have you resolved it

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

2 participants