-
Notifications
You must be signed in to change notification settings - Fork 368
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
[<Library component: Model|Core|etc...>] AutoModel Hyperparameter input_size_multiplier is wrong #1222
Labels
Comments
Hello! What is wrong exactly with the |
@zllearn 你有碰到什么报错吗?这是Neuralforecast 里采用的命名而已。实际上还是尝试不同 |
您好!
我最近较忙没有看见邮箱,不好意思!
我之前反馈的问题是我自己看错了,我在传入AutoTimeMixerd的config参数时,给错了input_size的命名为input_size_multiplier
所以导致了后面的错误,后来改成了input_size就没有问题了
感谢您的回信!
错误参数名:
config_AutoTimeMixer = {
"input_size_multiplier": tune.choice([INPUT_SIZE, INPUT_SIZE*2]),
"d_model": tune.choice([32, 64]),
"e_layers": tune.choice([2, 4]),
"learning_rate": tune.loguniform(1e-4, 1e-2),
"batch_size": tune.choice([64, 128]),
"max_steps": tune.choice([1500]),
"random_seed": tune.randint(1, 10)
}
正确参数名:
config_AutoTimeMixer = {
"input_size": tune.choice([INPUT_SIZE, INPUT_SIZE*2]),
"d_model": tune.choice([32, 64]),
"e_layers": tune.choice([2, 4]),
"learning_rate": tune.loguniform(1e-4, 1e-2),
"batch_size": tune.choice([64, 128]),
"max_steps": tune.choice([1500]),
"random_seed": tune.randint(1, 10)
}
model = AutoTimeMixer(
h=HORIZON,
n_series=1,
config=config_AutoTimeMixer,
loss=MAE(),
num_samples=20,
verbose=False,
)
张乐
***@***.***
…------------------ 原始邮件 ------------------
发件人: "Nixtla/neuralforecast" ***@***.***>;
发送时间: 2024年12月24日(星期二) 凌晨0:18
***@***.***>;
***@***.******@***.***>;
主题: Re: [Nixtla/neuralforecast] [<Library component: Model|Core|etc...>] AutoModel Hyperparameter input_size_multiplier is wrong (Issue #1222)
@zllearn 你有碰到什么报错吗?这是Neuralforecast 里采用的命名而已。实际上还是尝试不同input_size的参数来优化。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@marcopeix You could resolve this as the reporter said that was the mistake not by Neuralforecast |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened + What you expected to happen
使用automodel模型时,其default_config提供的参数名input_size_multiplier错误,在实际使用时是input_size
Versions / Dependencies
neuralforecast库
python3.8 和 python3.10.9
Reproduction script
Issue Severity
Medium: It is a significant difficulty but I can work around it.
The text was updated successfully, but these errors were encountered: