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

table rec code #11999

Merged
merged 13 commits into from
May 16, 2024
Merged

table rec code #11999

merged 13 commits into from
May 16, 2024

Conversation

invictuszhao
Copy link
Contributor

No description provided.

Copy link

paddle-bot bot commented Apr 25, 2024

Thanks for your contribution!

@CLAassistant
Copy link

CLAassistant commented Apr 25, 2024

CLA assistant check
All committers have signed the CLA.

@jzhang533 jzhang533 self-requested a review April 25, 2024 08:33
Copy link
Collaborator

@tink2123 tink2123 left a comment

Choose a reason for hiding this comment

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

辛苦参考 https://github.com/PaddlePaddle/PaddleOCR/blob/main/doc/doc_ch/algorithm_table_master.md ,提供一份使用说明文档。提供精度复现说明~

@invictuszhao
Copy link
Contributor Author

辛苦参考 https://github.com/PaddlePaddle/PaddleOCR/blob/main/doc/doc_ch/algorithm_table_master.md ,提供一份使用说明文档。提供精度复现说明~

好的

@GreatV
Copy link
Collaborator

GreatV commented Apr 26, 2024

要安装一下pre-commit,格式化codestyle。




class SLAHead(nn.Layer):
Copy link
Collaborator

Choose a reason for hiding this comment

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

不要直接修改原有的SLAHead,建议通过增加参数配置,在兼容此次修改。

Copy link
Contributor Author

Choose a reason for hiding this comment

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

已将attention部分修改为可配置,默认不使用;eos的添加对原来的slanet同样适用。

Copy link
Contributor Author

Choose a reason for hiding this comment

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

增加了对原始slanet的eos训练适配

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@@ -220,15 +346,23 @@ def forward(self, inputs, targets=None):
)
structure_preds.stop_gradient = True
loc_preds.stop_gradient = True
#
Copy link
Collaborator

Choose a reason for hiding this comment

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

删除

Copy link
Contributor Author

Choose a reason for hiding this comment

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

好的

@invictuszhao
Copy link
Contributor Author

已将attention部分修改为可配置,默认不使用;增加了对原始slanet的eos训练适配; eos的添加对原来的slanet同样适用。

@invictuszhao
Copy link
Contributor Author

要安装一下pre-commit,格式化codestyle。

done

Copy link
Collaborator

@tink2123 tink2123 left a comment

Choose a reason for hiding this comment

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

LGTM

@tink2123 tink2123 merged commit 8b71785 into PaddlePaddle:main May 16, 2024
3 checks passed
@plotnine1219
Copy link

要安装一下pre-commit,格式化codestyle。

done

你好,我是刚才关注你的那个,我想要一下您的训练权重,不知道您方便吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants