the lab doesnt work i get a operatornotallowedingrapherror
in the last giant code block where it runs the agent
ive submitted the lab and my my code is correct and i got 100% but the lab doesnt run
Hello @DeathXUnnat It seems like you are changing code for graphs which doesn’t mean to be change you can check the cell of graph once again for the error. It would be great if you can tell in which cell you are getting this error.
Thanks
Riya
Use keras.losses.mean_squared_error(target_Q, y_hat) instead of keras.losses.MeanSquaredError(target_Q, y_hat) to compute loss. keras.losses.MeanSquaredError() not supporting tf.Tensor as condition judging like “if some_bool_val” in @tf_function decorated relivant enviroment.