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

Add new table related models #2710

Open
wants to merge 23 commits into
base: develop
Choose a base branch
from

Conversation

liu-jiaxuan
Copy link
Collaborator

No description provided.

Copy link

paddle-bot bot commented Dec 23, 2024

Thanks for your contribution!

Copy link
Collaborator

@TingquanGao TingquanGao left a comment

Choose a reason for hiding this comment

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

有几个地方建议改一下。另外,这几个新增模型和崔老师确认过这样命名么?

另外冲突了,先rebase解冲突再提commit修改吧

Comment on lines 31 to 34
# image = self._img_reader.read(self["input_path"])
# print(self._input_img[0].shape)
# raise ValueError
# image = Image.fromarray(np.transpose(self._input_img[0].astype(np.uint8), (1, 2, 0)))
Copy link
Collaborator

Choose a reason for hiding this comment

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

调试代码删掉吧

return self["html"]


class TableResult(BaseCVResult, HtmlMixin, XlsxMixin):
Copy link
Collaborator

Choose a reason for hiding this comment

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

建议把HtmlMixin和XlsxMixin合并为TableMixin,TableMixin提供html xlsx save_to_html save_to_xlsx接口

log_interval: 10

Export:
weight_path: null
Copy link
Collaborator

Choose a reason for hiding this comment

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

相关的weight都填写好吧

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.

3 participants