Giter Club home page Giter Club logo

hmp2g's People

Contributors

binary-husky avatar binary-sky avatar harry67hu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

hmp2g's Issues

How to make the program use the GPU as much as possible?

I am using GPU to run this program, but the GPU usage is very low. How can I increase the GPU usage to make the program execute faster? What settings in the code need to be changed to make the best possible use of the GPU? 谢谢您

docker run downloading too slow

when I set up the docker environment, I run the command
$ docker run -itd --name hmp-$USER \ --net host \ --gpus all \ --shm-size=16G \ fuqingxu/hmp:latest
It's download speed is too slowly to finish it. I tried the common online solution of changing the Docker source, but it didn't work.
I even downloaded it for several nights without success. Can you help me solve this problem? A student eager to use the environment

Docker container fails to start with --gpus all option on WSL

I am developing a multi-agent reinforcement learning environment based your framework, and I want to deploy your docker image on WSL. However, when I enable the --gpus all option, I get the following message and the environment fails to start:

docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy' nvidia-container-cli: mount error: file creation failed: /var/lib/docker/overlay2/<layer hash>/merged/usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1: file exists: unknown.

I found this issue on nvidia-docker that helped me solve the problem: NVIDIA/nvidia-container-toolkit#289. It says that WSL has its own cuda runtime libraries, which are injected into the container when the image is created, so the container cannot have those static libraries.

After starting the container under priviledged mode without gpu, enter the command below and create a new image, the hmp container can use gpu normally:

rm -rf /usr/lib/x86_64-linux-gnu/libcuda.so.1 /usr/lib/x86_64-linux-gnu/libnvidia-*.so.1 /usr/lib/x86_64-linux-gnu/libnvcuvid.so.1

I hope you can add this solution to your documentation for future reference. This would make it easier for me and other users who encounter the same problem. Thank you!

file missing problem

AssertionError: ('cannot find', 'MISSION/collective_assault')
I want to run DCA related experiments, but the above problem occurred. Do I need to write the missing file myself? Or could you provide the file. Looking forward to receiving your reply!

What can I do to download the docker image

It seems impossible for me to download the docker image fuqingxu/hmp:latest with docker-ce......I succeeded with docker-desktop, but the NVIDIA container toolkit seems not supporting docker-desktop. The docker pulling process would get broken after several minutes or hours no matter what proxy or VPN I use. If possible could we communicate more through email? My email is [email protected] :(

error running on windows

Traceback (most recent call last):
File "D:\Program Files\JetBrains\PyCharm Community Edition 2019.3.5\plugins\python-ce\helpers\pydev\pydevd.py", line 1434, in _exec
pydev_imports.execfile(file, globals, locals) # execute the script
File "D:\Program Files\JetBrains\PyCharm Community Edition 2019.3.5\plugins\python-ce\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "./THIRDPARTY/pymarl2/pymarl2src/main.py", line 126, in
my_main(None, config_dict, None)
File "./THIRDPARTY/pymarl2/pymarl2src/main.py", line 52, in my_main
run_REGISTRY[_config['run']](_run, config, _log)
File "D:\2023Work\1IntelligentBattle\hmp2g-master\THIRDPARTY\pymarl2\pymarl2src\run\run.py", line 52, in run
run_sequential(args=args, logger=logger)
File "D:\2023Work\1IntelligentBattle\hmp2g-master\THIRDPARTY\pymarl2\pymarl2src\run\run.py", line 85, in run_sequential
runner = r_REGISTRY[args.runner](args=args, logger=logger)
File "D:\2023Work\1IntelligentBattle\hmp2g-master\THIRDPARTY\pymarl2\pymarl2src\runners\efficient_parallel_runner.py", line 82, in init
self.remote_link_client = UnixTcpClientP2P(unix_path, obj='pickle')
File "D:\2023Work\1IntelligentBattle\hmp2g-master\UTIL\network.py", line 413, in init
self.self_unix_path = target_unix_path+'client'+uuid.uuid1().hex[:5]
TypeError: can only concatenate tuple (not "str") to tuple

target_unix_path = ('localhost', 12235)

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.