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 @andgoldschmidt
in block 22, example 3 with pool.Pool(6) as p: r = list(tqdm(p.imap(run_wrapper, control_list), total=n_experiments))
I got " NameError: name 'run_experiment' is not defined"
could you please support?
The text was updated successfully, but these errors were encountered:
run_experiment is defined in the previous cell 22, and run_wrapper is just a wrapper partially evaluating the arguments of run_experiment, like functools.Partial. If cell 22 executes without issue, and you find that the NameError persists, I'd be at a bit of a loss---I'd probably start by testing whether I can call run_wrapper by itself before handing it to the multi-threading.
Hi @andgoldschmidt
in block 22, example 3
with pool.Pool(6) as p: r = list(tqdm(p.imap(run_wrapper, control_list), total=n_experiments))
I got " NameError: name 'run_experiment' is not defined"
could you please support?
The text was updated successfully, but these errors were encountered: