Skip to content

KerasGA error: AttributeError: module 'pygad.kerasga' has no attribute 'KerasGA' #51

@cric96

Description

@cric96

Hi!
I have tried to run the example that combines keras with your library (that one).

But python can't find the class KerasGA (as showed in the title)

I installed pygad using pip pip install pygad.

Looking in the file init.py I tried to add:

from .kerasga import * # Relative import.

And it seems to solve the problem...

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions