-
Notifications
You must be signed in to change notification settings - Fork 17
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 __repr__ and model_list in ModelCreator #123
Conversation
@@ -84,3 +88,30 @@ def model_table(filter="", pretrained=False, **kwargs): | |||
table_items, headers=table_headers, tablefmt="fancy_grid", **kwargs | |||
) | |||
return table | |||
|
|||
@staticmethod | |||
def model_list(filter="", pretrained=False, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
把文档加上吧,描述一下这个函数功能是什么
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
把文档加上吧,描述一下这个函数功能是什么
写到docs里了,在这个PR下 #124
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的
TODO
__repr__
and__str__
inModelCreator
for specific caseModelCreator.model_list()
func