CORE-Robotics-Lab / HetNet

Public implementation of Heterogeneous Policy Networks (HetNet) from AAMAS'22 -- Paper Title: Learning Efficient Diverse Communication for Cooperative Heterogeneous Teaming
GNU General Public License v3.0
13 stars 3 forks source link

About policy_perception_net and policy_action_net #1

Open ttytty1 opened 2 months ago

ttytty1 commented 2 months ago

In main.py,If args.hetcomm, the procedure call the policy_perception_net and policy_action_net directly, where is the defination and the declaration of these two variable? I'll appreciate if you respanse

luisp23 commented 1 month ago

Hello, thank you for raising this issue. These variables were related to running baseline experiments when the args.hetcomm argument was set to True. This is deprecated and the initialization of these variables was removed while we cleaned our codebase for release. You should not experience any issues running HetNet if you run with the flags and arguments specified in our README.

Furthermore, the appropriate policy network for HetNet is initialized here as the variable policy_net when the --hetgat and --hetgat_a2c arguments are properly initialized to True .