You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ga_instance.save will not work with tqdm example #262
I am running the example on how to use TQDM. I have used this successfully in a prior version and installation, but when running my previous code or the example code, I receive the error:
File C:\ProgramData\Anaconda3\envs\pygad_2_2_0-2\Lib\site-packages\cloudpickle\cloudpickle.py:1245 in dump
return super().dump(obj)
TypeError: cannot pickle '_hashlib.HMAC' object
Pygad version 3.1.0 and also tried 3.2.0
This is the code that was run returning this result.
Activity
ahmedfgad commentedon Jan 27, 2024
The hash object cannot be pickled. It is an issue with the
cloudpicklelibrary used by PyGAD to pickle thepygad.GAobjects.meono commentedon Jul 9, 2024
I see the same error when I try to use parallel_processing. Is there a workaround?