mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-04 11:30:57 +08:00
Set self.fitted = True instead of self._fitted.
This commit is contained in:
@@ -297,7 +297,7 @@ class DNNModelPytorch(Model):
|
||||
_model_path = os.path.join(model_dir, _model_name)
|
||||
# Load model
|
||||
self.dnn_model.load_state_dict(torch.load(_model_path))
|
||||
self._fitted = True
|
||||
self.fitted = True
|
||||
|
||||
|
||||
class AverageMeter:
|
||||
|
||||
Reference in New Issue
Block a user