Files
2021-01-17 18:27:36 +08:00

34 lines
1.5 KiB
Makefile

SHELL=/bin/bash
python=/home/wassname/anaconda/envs/diygym3/bin/python
LOGURU_LEVEL=INFO
run:
ulimit -S -m 65000000
ulimit -S -v 65000000
LOGURU_LEVEL=INFO ${python} \
-m pdb -c continue \
main.py \
--cuda \
--opt_level O1 \
--automatic_entropy_tuning true \
--replay_size 100000 \
# --demonstrations data/demonstrations \
# --load auto \
# ${python} -m pdb main.py --cuda --automatic_entropy_tuning true --replay_size 10000 --load auto --start_steps 200
# 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