Traceback (most recent call last):
File "C:\Users\KARTHIKA\Desktop\TrafficFlowPrediction\train.py", line 10, in
from model import model
File "C:\Users\KARTHIKA\Desktop\TrafficFlowPrediction\model\model.py", line 4, in
from keras.layers import Dense, Dropout, Activation
File "C:\Users\KARTHIKA\AppData\Local\Programs\Python\Python39\lib\site-packages\keras__init.py", line 20, in
from . import initializers
File "C:\Users\KARTHIKA\AppData\Local\Programs\Python\Python39\lib\site-packages\keras\initializers\init.py", line 124, in
populate_deserializable_objects()
File "C:\Users\KARTHIKA\AppData\Local\Programs\Python\Python39\lib\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'
Inspite if making a few changes in the code and downgrading to different software version the train.py code is not working. How to clear this issue?
Traceback (most recent call last): File "C:\Users\KARTHIKA\Desktop\TrafficFlowPrediction\train.py", line 10, in
from model import model
File "C:\Users\KARTHIKA\Desktop\TrafficFlowPrediction\model\model.py", line 4, in
from keras.layers import Dense, Dropout, Activation
File "C:\Users\KARTHIKA\AppData\Local\Programs\Python\Python39\lib\site-packages\keras__init.py", line 20, in
from . import initializers
File "C:\Users\KARTHIKA\AppData\Local\Programs\Python\Python39\lib\site-packages\keras\initializers\ init.py", line 124, in
populate_deserializable_objects()
File "C:\Users\KARTHIKA\AppData\Local\Programs\Python\Python39\lib\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'
Inspite if making a few changes in the code and downgrading to different software version the train.py code is not working. How to clear this issue?