C1W2_Assignment error

I got error while running the last step of code:
could not figure out the cause of the error.

Hello @ramchandra_dhungana

Send me your notebook via dm such that I can check where it went wrong. By clicking on the profile picture, you will see an option to message. There you can attach your notebook. Then we can discuss the issues here.

With regards,
Nilosree Sengupta

Hello @ramchandra_dhungana ,

Everything is given in the hint.
Hint : Remember to inherit from the correct class

In your code you have directly used myCallback without specifying any parent class from which it is to inherit.

Do specify that.

Also a link is given above the snippet :

If you need some guidance on how to proceed, check out this link.

to be very specific on how to write it : check this part of the Link - Writing your own callbacks  |  TensorFlow Core

Hope this helps.
Feel free to reach out if you need more guidance.

With regards,
Nilosree Sengupta

So actual error is in the Defining your callback part, under the # GRADED CLASS: myCallback