You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
the last commit that added the debug convenience features, I ran into an issue when trying to use both list and grid parameters in the configuration yaml that worked before.
After some digging I found that the issue seems to be caused during expand_experiments in conf_unfolder.py where the expansion of the experiment_configs in line 65-66 is conditioned on whether debug is True or False but the list splicing returns an empty list if debug is set to False as conditioning in the indicing process does not seem to work as the author expected (at least on my system):
experiment_configs += params_combine(
config, key, iter_func)[:1 if debug else 0:]
I resolved this issue locally by doing it the same way it is done in the other cases by factoring it out and conditioning later:
I tested the fix on branch fix/issue66 and it resolved the issue that was occuring for me.
Now all combinations of list/grid work fine again.
Thanks for your fast response.
Hi,
the last commit that added the debug convenience features, I ran into an issue when trying to use both list and grid parameters in the configuration yaml that worked before.
After some digging I found that the issue seems to be caused during
expand_experiments
inconf_unfolder.py
where the expansion of the experiment_configs in line 65-66 is conditioned on whether debug is True or False but the list splicing returns an empty list if debug is set to False as conditioning in the indicing process does not seem to work as the author expected (at least on my system):I resolved this issue locally by doing it the same way it is done in the other cases by factoring it out and conditioning later:
The text was updated successfully, but these errors were encountered: