Skip to content

tlxxx/Dspic_code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Code for the Diffusion Soft Policy Iteration with Complete Division (Dspic) paper submission at ICML2026. (accepted as a regular paper)

Learning Curves are available in paper_plots

Installation

Ensure your Python version >= 3.11, then you can install our repository by:

pip install -r requirement.txt

To install SMAC, please follow the official instructions in here. To install SMACv2, please follow the official instructions in here. To install LBF, please follow the official instructions in here. To install MaMuJoCo, please follow the instructions on https://github.com/openai/mujoco-py, https://www.roboti.us/, and https://github.com/deepmind/mujoco to download the right version of mujoco you need (mujoco210 is suggested).

Then, mkdir ~/.mujoco and move the .tar.gz or .zip to ~/.mujoco, and extract it by unzip zipname. Finally add the path to ~/.bashrc with

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/<user>/.mujoco/<folder-name>/bin

After installation is finished, the conda environment can be activated, and the code can be run using

python examples/train.py

Running

You can modify the corresponding algorithm and environment parameters in src/configs, and our paper also provides information on the parameters we use.

You can freely choose the algorithm to run (currently only dspic is supported), the testing environment, and the experiment name, simply by running with

python examples/train.py --algo dspic --env smac/smacv2/mamujoco/lbf --exp_name test1

Acknowledgements

Portions of the project are adapted from other repositories:

Contact Us

If you have any questions, you can ask them on GitHub or send an email to ghli04@smail.nju.edu.cn. (Sending emails is recommended🤗.)

About

The Code for the Diffusion Soft Policy Iteration with Complete Division (Dspic) paper submission at ICML2026. (accepted as a regular paper)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages