mirror of
https://github.com/wassname/pytorch-soft-actor-critic.git
synced 2026-06-27 16:31:16 +08:00
25 lines
1.3 KiB
Makefile
25 lines
1.3 KiB
Makefile
python=/home/wassname/anaconda/envs/diygym3/bin/python
|
|
date=2021-01-03_13-30-07
|
|
LOGURU_LEVEL=INFO
|
|
# ulimit -S -m 35000000
|
|
# ulimit -S -v 35000000
|
|
|
|
run:
|
|
LOGURU_LEVEL=INFO ${python} -m pdb main.py --cuda --automatic_entropy_tuning true --replay_size 15000 --load auto
|
|
# LOGURU_LEVEL=INFO ${python} main.py --demonstrations data/demonstrations --cuda --automatic_entropy_tuning true --replay_size 20000 --load auto
|
|
# LOGURU_LEVEL=INFO ${python} main.py --demonstrations data/demonstrations --cuda --updates_per_step 2 --load auto --alpha 0.1 --tau 1 --target_update_interval 1000
|
|
# LOGURU_LEVEL=INFO ${python} main.py --demonstrations data/demonstrations --cuda --updates_per_step 2 --load auto --tau 1 --target_update_interval 1000 --policy Deterministic
|
|
|
|
# ${python} main.py --demonstrations data/demonstrations --cuda --updates_per_step 2 --load
|
|
|
|
# LOGURU_LEVEL=INFO ${python} main.py --demonstrations data/demonstrations --cuda --updates_per_step 4 --load auto --automatic_entropy_tuning
|
|
|
|
# hard update
|
|
|
|
#models/2021-01-10_12-49-47_SAC_ApplePick-v0_Gaussian_autotune0
|
|
|
|
play:
|
|
# ${python} play.py --load-actor models/actor_${date}_SAC_ApplePick-v0_Gaussian_autotune.pkl --load-critic models/critic_${date}_SAC_ApplePick-v0_Gaussian_autotune.pkl --render
|
|
${python} main.py --load auto --render --num_steps 0 --no-train
|
|
|