Closed Vishwanathts01 closed 2 years ago
num_samples = int(nest.flatten(data)[0].shape[0]) AttributeError: 'threadsafe_iter' object has no attribute 'shape' Hi, I also got the same error, have you resolved it now?
I fixed the problem. downgrade the tensorflow-gpu=1.10. You can try it.
conda install tensorflow-gpu=1.10
num_samples = int(nest.flatten(data)[0].shape[0]) AttributeError: 'threadsafe_iter' object has no attribute 'shape'