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

About the "strange error" in tutorial notebook #4

Open
Gnaiqing opened this issue Jan 13, 2022 · 2 comments
Open

About the "strange error" in tutorial notebook #4

Gnaiqing opened this issue Jan 13, 2022 · 2 comments

Comments

@Gnaiqing
Copy link

Thanks for the excellent work and code! When I try to run the tutorial 1_bias_bios, I face the same error mentioned in the notebook (ValueError: dictionary update sequence element #0 has length 1; 2 is required). Although rerunning the cell solves the problem, such a solution is not available when running the python code directly. Do you have any hints on what might cause the problem, and what can be done to fix it? It seems to me that the error might be related to hydra, since the corresponding part 1_bias_bios_no_hydra works fine for me.

@salvaRC
Copy link
Member

salvaRC commented Jan 14, 2022

Thanks for the kind words :).
I wasn't aware that the problem arises with the .py script too. I had thought so far that it was due to some jupyter notebook <-> hydra interaction. I would love to hear from you if you get further than me in the efforts to trace down and solve the error

@Gnaiqing
Copy link
Author

Thanks for your quick response, I'll let you know if I find better solutions :)

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