Thanks for a great guide to debugging! I was using the assertions code you wrote. However, note that tf.with_dependencies is now deprecated and results in errors when used.
The alternative, as shown in this StackOverflow post, is what you already had, so that's good. I just recommend in slide 39 to remove the tf.with_dependencies part entirely.
Thanks for a great guide to debugging! I was using the assertions code you wrote. However, note that
tf.with_dependenciesis now deprecated and results in errors when used.The alternative, as shown in this StackOverflow post, is what you already had, so that's good. I just recommend in slide 39 to remove the
tf.with_dependenciespart entirely.