Thanks to visit codestin.com
Credit goes to github.com

Skip to content

add YingLong model #771

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

Merged
merged 7 commits into from
Jan 27, 2024

Conversation

zhiminzhang0830
Copy link
Collaborator

@zhiminzhang0830 zhiminzhang0830 commented Jan 27, 2024

PR types

New features

PR changes

Others

Describe

add YingLong model

TODO:

  • Add visualization code
  • Add Yinglong-24 layers inference model
  • Adapt to the latest version of PaddlePaddle
  • Update readme



def main():
args = parse_args()
Copy link
Collaborator

@HydrogenSulfate HydrogenSulfate Jan 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

此处建议加一下版本检查,并说明:暂时只支持使用2.5.2推理,其它版本会在近期尽快支持。
版本检查代码参考:https://github.com/PaddlePaddle/PaddleScience/blob/develop/ppsci/solver/solver.py#L356

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done


# run predictor
output_data = predictor(input_data, time_stamps, nwp_data)
np.save(args.output, output_data)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

np.save后面打印一下保存文件路径等信息

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Collaborator

@HydrogenSulfate HydrogenSulfate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zhiminzhang0830 zhiminzhang0830 merged commit 594e55e into PaddlePaddle:develop Jan 27, 2024
@zhiminzhang0830 zhiminzhang0830 deleted the yinglong_infer branch January 28, 2024 04:28
huohuohuohuohuo123 pushed a commit to huohuohuohuohuo123/PaddleScience that referenced this pull request Aug 12, 2024
* add yinglong inference code

* add readme file for yinglong

* update yinglong predict code

* add copyright in predict_12layers.py

* update readme

* add reference for timefeatures.py

* update predict_12layers and readme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants