We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我这边训练环境没有gpu 所以按照脚本逻辑执行如下设置:
USE_GPU=False python -u run.py \ --task_name short_term_forecast \ --is_training 1 \ --root_path ./dataset/m4 \ --seasonal_patterns 'Hourly' \ --model_id m4_Hourly \ --model $model_name \ --data m4 \ --features M \ --e_layers 2 \ --d_layers 1 \ --factor 3 \ --enc_in 1 \ --dec_in 1 \ --c_out 1 \ --batch_size 16 \ --d_model 32 \ --d_ff 32 \ --top_k 5 \ --des 'Exp' \ --itr 1 \ --learning_rate 0.001 \ --loss 'SMAPE' \ --use_gpu $USE_GPU
但是还是会提示找不到GPU 后查询 :在一个需要用到 flag 作为信号控制代码中一些代码片段是否运行的,比如”–flag True” 或者”–flag False”。 但是古怪的是无法传入 False,无论传入 True 还是 False,程序里面都是 True 的参数,所以这个 flag 并没有生效,也就失去了意义。
转自链接:https://learnku.com/articles/44443
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我这边训练环境没有gpu 所以按照脚本逻辑执行如下设置:
但是还是会提示找不到GPU
后查询
:在一个需要用到 flag 作为信号控制代码中一些代码片段是否运行的,比如”–flag True” 或者”–flag False”。
但是古怪的是无法传入 False,无论传入 True 还是 False,程序里面都是 True 的参数,所以这个 flag 并没有生效,也就失去了意义。
转自链接:https://learnku.com/articles/44443
The text was updated successfully, but these errors were encountered: