keras.utils.generic_utils’ has no attribute ‘populate_dict_with_module_objects

This is an issue that arises as a result of the version incompatibility of the modules in Keras and tensor flow. The solution you find on google recommends downgrading the version of Tensor flow to 2.1 but this is no longer an option. You can create a virtual environment in Python but that still won’t address the version incompatibility between the Keras & Tensor flow.

Try the below solution in order to fix the above issue.

pip uninstall tf-nightly

If not installed that’s ok

pip uninstall tf-estimate-nightly

If not installed that’s ok

pip install tensorflow –upgrade –force-reinstall

This last step reinstalls Tensorflow and should rectify the missing modules issue.