Skip to content

Commit

Permalink
some change
Browse files Browse the repository at this point in the history
  • Loading branch information
tianzikang authored and tianzikang committed Jul 8, 2022
1 parent 68a5cc6 commit 0f70f42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion learn.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def store_hyper_para(args, store_path):
print('==================hyper parameters store done!==================')


def dqn_learning(
def qmix_learning(
env_class,
env_id,
seed,
Expand Down
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from smac.env import StarCraft2Env

from model import QMIX_agent
from learn import dqn_learning
from learn import qmix_learning
from utils.schedule import LinearSchedule
from utils.sc_wrapper import single_net_sc2env

Expand Down Expand Up @@ -50,7 +50,7 @@ def main(args=get_args()):
else:
env_class = StarCraft2Env

dqn_learning(
qmix_learning(
env_class=env_class,
env_id=args.map_name,
seed=args.seed,
Expand Down

0 comments on commit 0f70f42

Please sign in to comment.