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

A function is not defined #3

Closed
xiaohunshui opened this issue Mar 7, 2022 · 3 comments
Closed

A function is not defined #3

xiaohunshui opened this issue Mar 7, 2022 · 3 comments

Comments

@xiaohunshui
Copy link

xiaohunshui commented Mar 7, 2022

There is no definition of partial in trainer.py line 77, can you tell me how to implement it?

@xiaohunshui
Copy link
Author

image

@LouisRouss
Copy link
Owner

Indeed an import was missing:

from functools import partial

@xiaohunshui
Copy link
Author

Thank you for your reply, I have solved it with your help!

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

No branches or pull requests

2 participants