C4_W1_Assignment - Errors from grader

Hello

Trying to finish C4_W1 assignments, but I’m getting below errors and got 0 score from all the grade points.

train_val_split. ( 0 points / 10 )
There was a problem compiling the code from your notebook. Details:
unsupported operand type(s) for +: ‘float’ and ‘NoneType’

compute_metrics ( 0 points / 10 )
There was a problem compiling the code from your notebook. Details:
unsupported operand type(s) for +: ‘float’ and ‘NoneType’

Can you please help ?

When I ran individual cell in jupyter notebook, it generated exactly same output as the expected out - graphs / numbers etc.

Regards,

Please click my name and message your notebook as an attachment.

Please don’t use global variables when possible.
Looking at the function signature def train_val_split(time, series, time_step=SPLIT_TIME):, use the function parameters to perform the train / validation split.

Notebook metadata is corrupt. Please refresh your workspace and try again.
See Refresh your Lab Workspace section here
If you’ve already done this, contact coursera help

Please see this link to learn more about grader metadata.

The cell containing def train_val_split(time, series, time_step=SPLIT_TIME): doesn’t have grader metadata.

Thanks, will try refresh workspace and try again.