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: index 1 is out of bounds for dimension 0 with size 1 #16

Open
chxnkm opened this issue Dec 12, 2023 · 0 comments
Open

IndexError: index 1 is out of bounds for dimension 0 with size 1 #16

chxnkm opened this issue Dec 12, 2023 · 0 comments

Comments

@chxnkm
Copy link

chxnkm commented Dec 12, 2023

After running the train script, and following on to the test script, I'm faced with this error. How do I go about debugging this?

Traceback (most recent call last):
File "E:...\super_res_sample.py", line 447, in
main()
File "E:...\super_res_sample.py", line 94, in main
samples = diffusion.p_sample_loop(
File "E:...\guided_diffusion\gaussian_diffusion.py", line 527, in p_sample_loop
print(en_feats[index][1])
IndexError: index 1 is out of bounds for dimension 0 with size 1

Will provide more code if required 😁

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