未验证 提交 58797143 编写于 作者: C ceci3 提交者: GitHub

fix parl version import error (#1399)

上级 11814d1c
......@@ -16,7 +16,6 @@ import logging
from ..log_helper import get_logger
_logger = get_logger(__name__, level=logging.INFO)
try:
import parl
from .ddpg import *
except ImportError as e:
pass
......
......@@ -12,4 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from .ddpg_controller import *
import logging
try:
from .ddpg_controller import *
except Exception as e:
logging.warning(e)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册