AttributeError: 'Namespace' object has no attribute 'load_model'
ahx-code opened this issue · 1 comments
ahx-code commented
In experiment.py, _setup_model method throws the attribute error:
def _setup_model(self):
model_builder = ModelBuilder(self.flags, self.X_train, self.Y_train, model_path=self._model_path(self.flags.load_model))
self.model = model_builder.build()
The flag variable load model was not defined in the cifar.py, read_args() method.
How should I declare load_model variable?
kekeblom commented
In the read_args
method, default_parser
is called in which the load-model
argument is defined. Make sure that function is getting imported correctly on your setup.