You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "main.py", line 87, in
main()
File "main.py", line 56, in main
trainer.loop(args.epochs, train_loader, val_loader, test_loader)
File "C:\Users\86158\Desktop\CLNet-main\utils\solver.py", line 71, in loop
self.test_loss, rho, nmse = self.test(test_loader)
File "C:\Users\86158\Desktop\CLNet-main\utils\solver.py", line 109, in test
return self.tester(test_loader, verbose=False)
File "C:\Users\86158\Desktop\CLNet-main\utils\solver.py", line 230, in call
loss, rho, nmse = self._iteration(test_data)
File "C:\Users\86158\Desktop\CLNet-main\utils\solver.py", line 250, in _iteration
rho, nmse = evaluator(sparse_pred, sparse_gt, raw_gt)
File "C:\Users\86158\Desktop\CLNet-main\utils\statics.py", line 61, in evaluator
raw_pred = torch.fft(sparse_pred, signal_ndim=1)[:, :, :125, :]
TypeError: 'module' object is not callable
I run it on different computers,the questions are same,and I can't understand what's mean about raw_pred,could you solve the question?thanks
The text was updated successfully, but these errors were encountered:
when I run the code meet the requirement python=3.7.11, pytorch=1.9.0,It can run successfully first 10 epochs,but in val,python error,it print as follows:
I 09.13/13:00 C:\Users\86158\Desktop\CLNet-main\utils\solver.py:87 ] Epoch: [10/1000][400/500] lr: 6.53e-04 | MSE loss: 4.142e-04 | time: 0.453
I 09.13/13:00 C:\Users\86158\Desktop\CLNet-main\utils\solver.py:87 ] Epoch: [10/1000][420/500] lr: 6.56e-04 | MSE loss: 4.134e-04 | time: 0.452
I 09.13/13:00 C:\Users\86158\Desktop\CLNet-main\utils\solver.py:87 ] Epoch: [10/1000][440/500] lr: 6.59e-04 | MSE loss: 4.121e-04 | time: 0.453
I 09.13/13:01 C:\Users\86158\Desktop\CLNet-main\utils\solver.py:87 ] Epoch: [10/1000][460/500] lr: 6.61e-04 | MSE loss: 4.114e-04 | time: 0.454
I 09.13/13:01 C:\Users\86158\Desktop\CLNet-main\utils\solver.py:87 ] Epoch: [10/1000][480/500] lr: 6.64e-04 | MSE loss: 4.107e-04 | time: 0.453
I 09.13/13:01 C:\Users\86158\Desktop\CLNet-main\utils\solver.py:87 ] Epoch: [10/1000][500/500] lr: 6.67e-04 | MSE loss: 4.096e-04 | time: 0.454
I 09.13/13:01 C:\Users\86158\Desktop\CLNet-main\utils\solver.py:87 ] => Train Loss: 4.096e-04
I 09.13/13:01 C:\Users\86158\Desktop\CLNet-main\utils\solver.py:98 ] Epoch: [10/1000][20/150] lr: 6.67e-04 | MSE loss: 4.028e-04 | time: 0.210
I 09.13/13:01 C:\Users\86158\Desktop\CLNet-main\utils\solver.py:98 ] Epoch: [10/1000][40/150] lr: 6.67e-04 | MSE loss: 4.009e-04 | time: 0.174
I 09.13/13:01 C:\Users\86158\Desktop\CLNet-main\utils\solver.py:98 ] Epoch: [10/1000][60/150] lr: 6.67e-04 | MSE loss: 3.993e-04 | time: 0.163
I 09.13/13:01 C:\Users\86158\Desktop\CLNet-main\utils\solver.py:98 ] Epoch: [10/1000][80/150] lr: 6.67e-04 | MSE loss: 4.010e-04 | time: 0.160
I 09.13/13:01 C:\Users\86158\Desktop\CLNet-main\utils\solver.py:98 ] Epoch: [10/1000][100/150] lr: 6.67e-04 | MSE loss: 4.007e-04 | time: 0.157
I 09.13/13:01 C:\Users\86158\Desktop\CLNet-main\utils\solver.py:98 ] Epoch: [10/1000][120/150] lr: 6.67e-04 | MSE loss: 4.008e-04 | time: 0.154
I 09.13/13:01 C:\Users\86158\Desktop\CLNet-main\utils\solver.py:98 ] Epoch: [10/1000][140/150] lr: 6.67e-04 | MSE loss: 4.006e-04 | time: 0.155
I 09.13/13:01 C:\Users\86158\Desktop\CLNet-main\utils\solver.py:98 ] => Val Loss: 4.004e-04
Traceback (most recent call last):
File "main.py", line 87, in
main()
File "main.py", line 56, in main
trainer.loop(args.epochs, train_loader, val_loader, test_loader)
File "C:\Users\86158\Desktop\CLNet-main\utils\solver.py", line 71, in loop
self.test_loss, rho, nmse = self.test(test_loader)
File "C:\Users\86158\Desktop\CLNet-main\utils\solver.py", line 109, in test
return self.tester(test_loader, verbose=False)
File "C:\Users\86158\Desktop\CLNet-main\utils\solver.py", line 230, in call
loss, rho, nmse = self._iteration(test_data)
File "C:\Users\86158\Desktop\CLNet-main\utils\solver.py", line 250, in _iteration
rho, nmse = evaluator(sparse_pred, sparse_gt, raw_gt)
File "C:\Users\86158\Desktop\CLNet-main\utils\statics.py", line 61, in evaluator
raw_pred = torch.fft(sparse_pred, signal_ndim=1)[:, :, :125, :]
TypeError: 'module' object is not callable
I run it on different computers,the questions are same,and I can't understand what's mean about raw_pred,could you solve the question?thanks
The text was updated successfully, but these errors were encountered: