8 frames
/usr/local/lib/python3.10/dist-packages/tensorflow/python/framework/ops.py in len(self)
336 “”“Returns the length of the first dimension in the Tensor.”“”
337 if not self.shape.ndims:
→ 338 raise TypeError(“Scalar tensor has no len()”)
339 # pylint: disable=protected-access
340 try:
TypeError: Scalar tensor has no len()
I have no idea what the problem is. I followed the instructions (executed all steps)
Hello, I tried to find this lab but the names are different. My suggestion to you is that close and reopen the lab, unless something has been updated in some library. If you still facing the issue maybe @Mubsi can have a look at this. Thanks.