Face Recognition assignment `model_from_json()` `TypeError: Could not locate class 'Functional'.`

This is not a simple task. You may find this thread helpful, as well as this one.