GithubHelp home page GithubHelp logo

Comments (2)

piercehowell avatar piercehowell commented on July 20, 2024

Hi @Yuxin916! Thanks for sharing the error you encountered. Did you run pip install -e . within the MARBLER fork? Additionally, have you tested that installation of MARBLER was successful?

Best,
Pierce

from cap-comm.

Yuxin916 avatar Yuxin916 commented on July 20, 2024

Hi,
Thank you! I try to reinstall everything and this problem seems to be solved. When i run the HeterogeneousSensorNetwork scenario in robotarium_gym/main.py, it is working. Despite i commented line 148 from robotarium_gym/utilities/misc.py "episodeConnectivity.append(info["connectivity"])"

However, i have encountered another problem when running the run_MLP_ID_4_agents_HSN.sh still. This time is:

[ERROR 19:56:17] pymarl Failed after 0:00:03!
Traceback (most recent calls WITHOUT Sacred internals):
File "/home/tsaisplus/MuRPE_base/cap-comm/src/main.py", line 166, in main
run(_run, _config, _log)
File "/home/tsaisplus/MuRPE_base/cap-comm/src/run.py", line 57, in run
run_sequential(args=args, logger=logger)
File "/home/tsaisplus/MuRPE_base/cap-comm/src/run.py", line 192, in run_sequential
episode_batch = runner.run(test_mode=False)
File "/home/tsaisplus/MuRPE_base/cap-comm/src/runners/parallel_runner.py", line 196, in run
cur_stats.update({k: sum(d.get(k, 0) for d in infos) for k in set.union([set(d) for d in infos])})
File "/home/tsaisplus/MuRPE_base/cap-comm/src/runners/parallel_runner.py", line 196, in
cur_stats.update({k: sum(d.get(k, 0) for d in infos) for k in set.union([set(d) for d in infos])})
TypeError: unsupported operand type(s) for +: 'int' and 'list'

Process finished with exit code 1

Instead, i replace the environment from HSN to PredatorCapturePrey, it is training well. This seems to be a problem with "info" that come out from HSN's env.step.

Best Regards
Yuxin

from cap-comm.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.