I have completed the Trigger word detection assignment. It was very interesting.
However I only reached 80/100 of the final grade.
It seems that the modelf function is at fault :
Code Cell UNQ_C5: Unexpected error (AttributeError(“‘NoneType’ object has no attribute ‘op’”)) occurred during function check. We expected function
modelfto return type <class ‘bool’>. Please check that this function is defined properly.
If you see many functions being marked as incorrect, try to trace back your steps & identify if there is an incorrect function that is being used in other steps.
This dependency may be the cause of the errors.
Which is very strange, the model is very simple and it is working correctly with the Dev set and other tests, any idea of what could be wrong ?