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

[Doc] Add tutorial and fix docs #766

Merged
merged 7 commits into from
Jan 22, 2024

Conversation

HydrogenSulfate
Copy link
Collaborator

@HydrogenSulfate HydrogenSulfate commented Jan 22, 2024

PR types

Others

PR changes

Docs

Describe

  1. 首页添加[学习资料]章节
  2. 所有Dataset子类添加batch_index标记,表示是否支持使用批下标进行索引,若支持则将DataLoaderauto_collation的默认值设置为False,从而通过单次批下标索引代替多次单int下标索引,减少Dataset.__getitem__的调用次数
  3. 更正部分代码的docstring
  4. Solver.plot_loss_history绘制时将legend图注放至到曲线图的外部右侧,避免遮挡曲线,并设置dpi提高图像分辨率

Copy link

paddle-bot bot commented Jan 22, 2024

Thanks for your contribution!

Copy link
Collaborator

@zhiminzhang0830 zhiminzhang0830 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 65fe200 into PaddlePaddle:develop Jan 22, 2024
3 checks passed
@HydrogenSulfate HydrogenSulfate deleted the add_tutorial branch January 28, 2024 08:45
huohuohuohuohuo123 pushed a commit to huohuohuohuohuo123/PaddleScience that referenced this pull request Aug 12, 2024
* (WIP)Add tutorial page

* fix document

* fix

* change split_to_dict and concat_to_tensor to staticmethod

* update batch_index class variable for all datasets

* move legend to outter-right of curve box and set dpi to 200

* add 1 more aistudio url
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