You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2 frames
/usr/local/lib/python3.7/dist-packages/keras/engine/topology.py in (.0)
2746 flattened_layers = filtered_layers
2747
-> 2748 layer_names = [n.decode('utf8') for n in f.attrs['layer_names']]
2749 filtered_layer_names = []
2750 for name in layer_names:
AttributeError: 'str' object has no attribute 'decode'
trained_model = CFModel(max_userid, max_movieid, K_FACTORS)
trained_model([np.array([[1]]), np.array([[1]])]) # Pass the inputs as a list
trained_model.load_weights('weights.h5')
No description provided.
The text was updated successfully, but these errors were encountered: