What is your TF version?
As I remember that we had something similar at:
  

      github.com/tensorflow/tensorflow
  

  
    
  
	  
  

  
    
      h5py==3.0.0 causes issues with keras model loads in tensorflow 2.1.0 1
    

    
      
        opened 
        
          
        
        Oct 31, 2020
      
      

        
          closed 
        
          
        
        Dec 12, 2020
      
        

      
        
          
          danzafar
        
      
    

    
        type:bug
    
  


  
    h5py released version 3.0.0 today and it causes this code to fail:

https://gi…thub.com/tensorflow/tensorflow/blob/master/tensorflow/python/keras/saving/hdf5_format.py#L182
with error:

```
File "/databricks/python/lib/python3.7/site-packages/tensorflow_core/python/keras/saving/save.py", line 146, in load_model
return hdf5_format.load_model_from_hdf5(filepath, custom_objects, compile)
File "/databricks/python/lib/python3.7/site-packages/tensorflow_core/python/keras/saving/hdf5_format.py", line 166, in load_model_from_hdf5
model_config = json.loads(model_config.decode('utf-8'))
AttributeError: 'str' object has no attribute 'decode'
```

It looks like in version 2.1.0 the `h5py` version is not pinned (it is pinned in master), which is causing the issue.