
D:\software\Anaconda\envs\py37\python.exe I:/Papers/AAAI2022anomaly/TAD_SCINet/TADib/InferECG.py
I:\Papers\AAAI2022anomaly\TAD_SCINet\TADib\datasets\SNetDataset.py:64: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).
  data = torch.tensor(data).double()  # torch.Size([27, 2049])
I:\Papers\AAAI2022anomaly\TAD_SCINet\TADib\datasets\SNetDataset.py:66: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).
  self.raw_data = torch.tensor(self.raw_data).double()
level number 7, level details: [[1, 1], [1, 1], [1, 1], [0, 0], [0, 0], [0, 0], [0, 0]]
Model_type: BiSeqMask
layer number: 3
I:\Papers\AAAI2022anomaly\TAD_SCINet\TADib\datasets\SNetDataset.py:65: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).
  labels = torch.tensor(labels).double()  # 2049
layer number: 3
checkpoint/NewDataBiEvenSeqMaskECG/2dim/ecg_BiSeqMask_Pretrain2Stack_2dimNew_group1_lradj3_128_h8_bt16_p32_08_17_230247.pt
Error occured
Start-->count8->384:416, error->28.75858948494032
All Error occured
Error occured
Start-->count9->416:448, error->23.05581008613918
All Error occured
Error occured
Start-->count10->448:480, error->99.99638513208318
All Error occured
Error occured
Start-->count11->480:512, error->64.55797954164025
All Error occured
Error occured
Start-->count12->512:544, error->18.296778861083006
All Error occured
Error occured
Start-->count13->544:576, error->12.253890335446663
All Error occured
checkpoint
Initial F1 score: 0.8293687598770746
Initial precision: 0.9999999479166694
Initial recall: 0.7084870587274149

Adjusted F1 score: 0.996291259490114
Adjusted precision: 0.9999999628252803
Adjusted recall: 0.9926198895712218


Process finished with exit code 0





D:\software\Anaconda\envs\py37\python.exe I:/Papers/AAAI2022anomaly/TAD_SCINet/TADib/InferECG.py
I:\Papers\AAAI2022anomaly\TAD_SCINet\TADib\datasets\SNetDataset.py:64: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).
  data = torch.tensor(data).double()  # torch.Size([27, 2049])
I:\Papers\AAAI2022anomaly\TAD_SCINet\TADib\datasets\SNetDataset.py:66: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).
  self.raw_data = torch.tensor(self.raw_data).double()
level number 7, level details: [[1, 1], [1, 1], [1, 1], [0, 0], [0, 0], [0, 0], [0, 0]]
Model_type: BiSeqMask
layer number: 3
I:\Papers\AAAI2022anomaly\TAD_SCINet\TADib\datasets\SNetDataset.py:65: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).
  labels = torch.tensor(labels).double()  # 2049
layer number: 3
AUROC: 0.8590570241671838, AUPRC: 0.7993004377857788
Seq F1 score: 0.9889655519689429
Seq precision: 0.985347949254654
Seq recall: 0.9926198895712218

