Arthur-Null / SRD

Official pytorch implementation of Spatial Relation Decomposition method (AAAI 23)
20 stars 2 forks source link

运行时报错 #5

Open silent1999 opened 10 months ago

silent1999 commented 10 months ago

raise ValidationError(err_message) utilsd.config.exception.ValidationError: Object can not be loaded. Cause: Inconsist annotations found for the same param for inherited classes: Param name: early_stop Annotation in <class 'forecaster.model.minmax.MinMaxSep'>: typing.Union[int, NoneType] Annotation in <class 'forecaster.model.base.BaseModel'>: <class 'int'> Parser location: model Matched types: registryconfig Object: {'type': 'minmaxsep', 'task': 'regression', 'optimizer': 'Adam', 'lr': 0.001, 'alpha1': 1.0, 'alpha2': 1.0, 'weight_decay': 0.0, 'loss_fn': 'mse', 'metrics': ['mse', 'mae', 'corr', 'rrse', 'r2'], 'observe': 'mse', 'lower_is_better': True, 'max_epoches': 1000, 'early_stop': 30, 'batch_size': 128, 'aggregate': True}