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

Ask for the multiprocessing issue in the function "evaluate_one_task_success" #7

Open
FrankSinatral opened this issue Jul 22, 2024 · 0 comments

Comments

@FrankSinatral
Copy link

Thanks for your great work! When I try to run the main.py training script, I have the following problem:Exception has occurred: BrokenPipeError
[Errno 32] Broken pipe
File "/mnt/datadisk1/fanke/Projects/Lotus/lotus/libero/envs/venv.py", line 425, in send
self.parent_remote.send(["reset", kwargs])
File "/mnt/datadisk1/fanke/Projects/Lotus/lotus/libero/envs/venv.py", line 708, in reset
self.workers[i].send(None, **kwargs)
File "/mnt/datadisk1/fanke/Projects/Lotus/lotus/lifelong/metric.py", line 110, in evaluate_one_task_success
env.reset()
File "/mnt/datadisk1/fanke/Projects/Lotus/lotus/lifelong/metric.py", line 191, in evaluate_multitask_training_success
success_rate = evaluate_one_task_success(cfg, algo, task_i, task_emb, i)
File "/mnt/datadisk1/fanke/Projects/Lotus/lotus/lifelong/algos/skill.py", line 310, in learn_multi_task
success_rates = evaluate_multitask_training_success(
File "/mnt/datadisk1/fanke/Projects/Lotus/lotus/lifelong/main.py", line 303, in main
s_fwd, l_fwd, kl_loss, ce_loss, embedding_loss = meta_policy.learn_multi_task(meta_dataset, benchmark, result_summary, cfg.use_wandb)
File "/mnt/datadisk1/fanke/Projects/Lotus/lotus/lifelong/main.py", line 464, in
main()
BrokenPipeError: [Errno 32] Broken pipe,I guess there are some problems inside the class SubprocVectorEnv, how should I fix the problem, Thanks!

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