facebookresearch / BenchMARL

A collection of MARL benchmarks based on TorchRL
https://benchmarl.readthedocs.io/
MIT License
282 stars 40 forks source link

An error occurred while running run.by on the command line #128

Closed zqkdlmu2023 closed 2 months ago

zqkdlmu2023 commented 2 months ago

An error occurred while running run.by on the command line:No module named 'hydra'

matteobettini commented 2 months ago

pip install hydra-core

zqkdlmu2023 commented 2 months ago

pip install hydra-core

I have downloaded the Hydra Core and encountered the same error 2024-09-11 17-50-46屏幕截图

matteobettini commented 2 months ago

mmh this is very strange, upon installing hydra-core in your virtual env you should be able to run import hydra

Maybe ask in the hydra github?

do you get the same result if you run import hydra in a new python script?

zqkdlmu2023 commented 2 months ago

Thank you for your answer. Running the new script will still result in errors

matteobettini commented 2 months ago

At this point i suggest to either ask on the hydra github or start with a fresh virtual env/ different machine

zqkdlmu2023 commented 2 months ago

Thank you for your answer. The previous issue has been resolved, but now a new problem has arisen. We sincerely request your help! 2024-09-11 20-37-58屏幕截图 Additionally, may I ask how to visualize the training process in Vmas.

matteobettini commented 2 months ago

I have to ask you to report issues in a more structured format. The screenshot is cut and does not show the error.

Evaluation renderings are displayed in the logger of choice: csv->mp4 files, wandb-> web interface

zqkdlmu2023 commented 2 months ago

2024-09-11 20-48-20屏幕截图

matteobettini commented 2 months ago

please check all your benchmarl files are from the latest main version, I am not getting this on main

zqkdlmu2023 commented 2 months ago

Thank you for your reply. My problem has been solved. I am very interested in your research and would like to keep in touch with you for a long time! I again express my gratitude for your help!

matteobettini commented 2 months ago

Thank you! No problem, Glad your problem is solved, closing the issue now.