Skip to content

Commit

Permalink
Update logging level to error.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangyu zhang authored and xiangyu zhang committed Nov 11, 2021
1 parent 0f495bc commit cfcbbfb
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions examples/marl/openai/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@
This example is modified from the original OpenAI MADDPG training script.
Original script can be found below:
https://github.com/openai/maddpg/blob/master/experiments/train.py
To run this example, please make sure you have the OpenAI MADDPG installed,
e.g., using "conda develop .". So, maddpg can be properly imported below.
see README under examples/marl/openai for details.
"""

import argparse
import json
import logging
import os
import random
import uuid
Expand All @@ -23,9 +26,12 @@
from maddpg.trainer.maddpg import MADDPGAgentTrainer
import tensorflow.contrib.layers as layers

from gridworld.scenarios.buildings import make_env_config
from gridworld.log import logger
from gridworld.multiagent_env import MultiAgentEnv
from gridworld.multiagent_env_openai_style import MultiagentEnvOpenAIStyle
from gridworld.scenarios.buildings import make_env_config

logger.setLevel(logging.ERROR)


class CoordinatedMultiBuildingControlEnv(MultiAgentEnv):
Expand Down

0 comments on commit cfcbbfb

Please sign in to comment.