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

[Other] Hub feature: add model hub management for fastdeploy #453

Merged

Conversation

rainyfly
Copy link
Collaborator

@rainyfly rainyfly commented Oct 28, 2022

PR types(PR类型)

Other

Describe

  • Support download pre-trained models for fastdeploy using one interface, i.e. fastdeploy.hub.download_model
  • Support record users' downloading action for statistics.
  • Support configuration for future extension in hub module.

with open(self.file, 'r') as file:
try:
cfg = yaml.load(file, Loader=yaml.FullLoader)
self.data.update(cfg)
Copy link
Collaborator

Choose a reason for hiding this comment

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

这个self.data是否普通dict就行? 这样不用引用EasyDict

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

@jiangjiajun jiangjiajun merged commit 7e64f40 into PaddlePaddle:develop Nov 2, 2022
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