LIAGM / LFattNet

Attention-based View Selection Networks for Light-field Disparity Estimation
MIT License
54 stars 15 forks source link

How to resolve this? #8

Closed Vishwanathts01 closed 2 years ago

Vishwanathts01 commented 3 years ago

num_samples = int(nest.flatten(data)[0].shape[0]) AttributeError: 'threadsafe_iter' object has no attribute 'shape'

sherlockholmes211 commented 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?

chaowentao commented 2 years ago

I fixed the problem. downgrade the tensorflow-gpu=1.10. You can try it.

conda install tensorflow-gpu=1.10