weasel icon indicating copy to clipboard operation
weasel copied to clipboard

About the "strange error" in tutorial notebook

Open Gnaiqing opened this issue 2 years ago • 2 comments

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.

Gnaiqing avatar Jan 13 '22 15:01 Gnaiqing

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

salvaRC avatar Jan 14 '22 21:01 salvaRC

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

Gnaiqing avatar Jan 19 '22 21:01 Gnaiqing