I am stuck in this assignment as I do not seem to get Step 3: Create a filtering mask correct. I am getting error “TypeError: Cannot convert 0.5 to EagerTensor of dtype int64”.
Can you have a look at my code to see what is causing the issue? My lab id is ezjuxtgbwbpt
We can’t see your code directly. There are ways to share it privately. But this is a question that has come up many times before. I added a bunch of print statements to my code to show the shape and type of everything in that test case. Please have a look at this and compare to what your code produces: