-
Notifications
You must be signed in to change notification settings - Fork 81
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
Using callback on adapt_fit yields TypeError: expected str, bytes or os.PathLike object, not NoneType
#223
Comments
This is a lazy solution to AdaptiveMotorControlLab#223
Can you pip install 0.5.0rc1 and see if error persists? |
Just did, seems like it's the same error. Is |
hey @icarosadero
|
Nevermind, I bet it is a problem with my REPL |
Is there an existing issue for this?
Bug description
If you define a function on the callback of the method
adapt_fit
along with a frequency, an error will show up mentioning that there is nologdir
specified to save checkpoints on thesave
method of thesolver.base
. Example:Results in:
Following the error message, the call to
solver.fit
is settinglogdir = None
, which is then passed tobase.save
, which then tried to save in None.Operating System
Kubuntu 24.04
CEBRA version
0.4.0
Device type
GPU
Code of Conduct
The text was updated successfully, but these errors were encountered: