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
Hello, first of all I would like to say you did an excellent job with the pygad project.
Secondly, I would like to address an issue I am having with the keep_parents parameter. I was running an algorithm yesterday and it was working fine, but some changes were made to the code apparently, and now everytime I assign a value to that parameter an error pops up. It is because some part of the code related to it has a variable as a tuple, but the atribute .shape is called upon, which is only supported for numpy arrays.
The error is the following:
AttributeError: 'tuple' object has no attribute 'shape'
And it happens on the line 1202 of the pygad.py code.
Thank you for your collaboration Mr.Gad. It was really helpful. I will
check upon it, and if there is another complication I will let you know.
I am currently working in the Google Collab environment. Is there any
command that you know of that will allow me to upgrade to the latest
version, similarly as the one you send me?
Thank you for your help.
El vie, 18 jun 2021 a las 0:20, Ahmed Gad ***@***.***>)
escribió:
Activity
PyGAD 2.15.1
ahmedfgad commentedon Jun 18, 2021
Hello,
Thanks for opening this issue. It is solved now. The project is updated.
PyGAD 2.15.1 will be released shortly to address the issue.
Please feel free to get in touch if any issues arise.
PyGAD 2.15.1 Documentation
ahmedfgad commentedon Jun 18, 2021
PyGAD 2.15.1 is released that solves the issue.
Feel free to upgrade to the latest version:
Thank you!
edgardohb commentedon Jun 18, 2021
ahmedfgad commentedon Jun 18, 2021
@edgardohb
Yes use this command to upgrade to latest version: