Skip to content

Commit 921d6c0

Browse files
committed
fix bug
1 parent c42e4dd commit 921d6c0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

core/trainer.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,7 @@ def __init__(self, config=None):
7474
phase_names = envs.get_global_env(
7575
"runner." + self._runner_name + ".phases", None)
7676

77-
print("phase_names:{}".format(phase_names))
7877
_config = envs.load_yaml(config)
79-
print("_config:{}".format(_config["phase"]))
8078

8179
self._context["env"] = _config
8280
self._context["dataset"] = _config.get("dataset")
@@ -92,7 +90,6 @@ def __init__(self, config=None):
9290
_config["phase"] = phases
9391
self._context["env"] = _config
9492
self._context["dataset"] = _config.get("dataset")
95-
print("self._context[\"phases\"]:{}".format(self._context["phases"]))
9693
print("PaddleRec: Runner {} Begin".format(self._runner_name))
9794
self.which_engine()
9895
self.which_device()
@@ -259,7 +256,6 @@ def run(self):
259256
try:
260257
self.reload_train_context()
261258
self.context_process(self._context)
262-
print(self._context["env"]["phase"][0])
263259
if self._context['is_exit']:
264260
break
265261
except Exception as err:

0 commit comments

Comments
 (0)