Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from thuml:main #11

Merged
merged 11 commits into from
Apr 26, 2024
Prev Previous commit
Next Next commit
revisions
  • Loading branch information
DigitalLifeYZQiu committed Apr 26, 2024
commit a68756fe531c5ec15f04489633a14e7bce0acc1e
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,5 @@ checkpoints/
results/
result_long_term_forecast.txt
result_anomaly_detection.txt
scripts/augmentation/
scripts/augmentation/
run_anylearn.py
2 changes: 1 addition & 1 deletion exp/exp_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def train(self, setting):
print(
"Epoch: {0}, Steps: {1} | Train Loss: {2:.3f} Vali Loss: {3:.3f} Vali Acc: {4:.3f} Test Loss: {5:.3f} Test Acc: {6:.3f}"
.format(epoch + 1, train_steps, train_loss, vali_loss, val_accuracy, test_loss, test_accuracy))

early_stopping(-val_accuracy, self.model, path)
if early_stopping.early_stop:
print("Early stopping")
break
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ sktime
sympy
torch
tqdm
# mamba_ssm
mamba_ssm