浏览代码

Fix some import errors

/develop-newnormalization
Ervin Teng 5 年前
当前提交
47f8fa7a
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 4
      ml-agents/mlagents/trainers/agent_processor.py
  2. 2
      ml-agents/mlagents/trainers/tests/test_ppo.py

4
ml-agents/mlagents/trainers/agent_processor.py


from mlagents.trainers.trainer import Trainer
from mlagents.trainers.trajectory import Trajectory, AgentExperience
from mlagents.envs.brain import BrainInfo
from mlagents.trainers.brain import BrainInfo
from mlagents.envs.action_info import ActionInfoOutputs
from mlagents.trainers.action_info import ActionInfoOutputs
class AgentProcessor:

2
ml-agents/mlagents/trainers/tests/test_ppo.py


from mlagents.trainers.ppo.trainer import PPOTrainer, discount_rewards
from mlagents.trainers.ppo.policy import PPOPolicy
from mlagents.trainers.trajectory import trajectory_to_agentbuffer
from mlagents.envs.brain import BrainParameters
from mlagents.trainers.brain import BrainParameters
from mlagents.envs.environment import UnityEnvironment
from mlagents.envs.mock_communicator import MockCommunicator
from mlagents.trainers.tests import mock_brain as mb

正在加载...
取消
保存