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

TypeError in pt_train.fit and pt_callbacks.Callbacks Calls #1

Open
SHChang-Anderson opened this issue Dec 28, 2023 · 0 comments
Open

Comments

@SHChang-Anderson
Copy link

Hello,

I've encountered a couple of TypeErrors while using the fit function from source/pytorch_utils/training_utils.py and Callbacks class from pt_callbacks. Here are the details of the issues:

Unexpected Keyword Argument in get_callbacks Function

While running pt_train.fit, I encountered the following TypeError:

image

Missing Required Argument in Callbacks Constructor

Another TypeError I encountered is related to the instantiation of the Callbacks class:

image

It seems that there might be a mismatch between the expected parameters in the get_callbacks function and the arguments passed to it from pt_train.fit. Also, the Callbacks class appears to require an optimizer argument, which is not being provided in the get_callbacks function.

Could you please help in resolving these issues? Is there a specific way these functions are intended to be used, or is this potentially a bug in the implementation?

Thank you for your assistance.

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

1 participant