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

ETSformer hyper-parameter mismatch during NNI tuning #426

Closed
1 of 2 tasks
WenjieDu opened this issue May 28, 2024 · 0 comments
Closed
1 of 2 tasks

ETSformer hyper-parameter mismatch during NNI tuning #426

WenjieDu opened this issue May 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@WenjieDu
Copy link
Owner

1. System Info

PyPOTS v0.5

2. Information

  • The official example scripts
  • My own created scripts

3. Reproduction

Tune ETSformer hyperparameters in PyPOTS with NNI.

4. Expected behavior

2024-05-28 15:18:24 [INFO]: Have set the random seed as 2022 for numpy and pytorch.
2024-05-28 15:18:24 [INFO]: The tunner assigns a new group of params: {'n_steps': 48, 'n_features': 35, 'epochs': 100, 'patience': 10, 'n_e_layers': 2, 'n_d_layers': 3, 'd_model': 128, 'd_ffn': 1024, 'n_heads': 8, 'top_k': 3, 'dropout': 0.4, 'lr': 0.008927675977610391}
Traceback (most recent call last):
  File "/home/linglong/data/linglong/.conda/envs/pypots/bin/pypots-cli", line 8, in <module>
    sys.exit(main())
  File "/home/linglong/data/linglong/.conda/envs/pypots/lib/python3.10/site-packages/pypots/cli/pypots_cli.py", line 37, in main
    service.run()
  File "/home/linglong/data/linglong/.conda/envs/pypots/lib/python3.10/site-packages/pypots/cli/tuning.py", line 249, in run
    raise RuntimeError(
RuntimeError: Hyperparameters do not match. Mismatched hyperparameters (in the tuning configuration but not in the given model's arguments): ['top_k', 'd_ffn', 'n_heads', 'n_d_layers', 'n_e_layers', 'dropout']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant