Skip to content

AttributeError: module 'keras.utils.generic_utils' has no attribute 'populate_dict_with_module_objects' #2

Description

@CarlosOliverHM

When executing the generate.py file it throws the following error:

Traceback (most recent call last): File "generate.py", line 7, in <module> from models.dcgan import DCGAN File "/Users/carlosoliver/EMG-GAN/models/dcgan.py", line 30, in <module> from keras.optimizers import RMSprop, Adam File "/opt/anaconda3/envs/emg_gan/lib/python3.8/site-packages/keras/__init__.py", line 20, in <module> from . import initializers File "/opt/anaconda3/envs/emg_gan/lib/python3.8/site-packages/keras/initializers/__init__.py", line 124, in <module> populate_deserializable_objects() File "/opt/anaconda3/envs/emg_gan/lib/python3.8/site-packages/keras/initializers/__init__.py", line 82, in populate_deserializable_objects generic_utils.populate_dict_with_module_objects( AttributeError: module 'keras.utils.generic_utils' has no attribute 'populate_dict_with_module_objects'
Captura de Pantalla 2021-07-13 a la(s) 12 58 01

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions