diff --git a/paddle/api/Trainer.cpp b/paddle/api/Trainer.cpp index 84e4ca054abb0100a02c8a40e31c49c17684ef40..8a4b79a511dbeae33ad9cae38eee8dee2e9abc2e 100644 --- a/paddle/api/Trainer.cpp +++ b/paddle/api/Trainer.cpp @@ -73,7 +73,6 @@ Trainer* Trainer::create(TrainerConfig* config, if (retv->m->getConfig().IsInitialized()) { return retv; } else { - retv->m->getConfig().CheckInitialized(); throw IOError(); } }