MVAE icon indicating copy to clipboard operation
MVAE copied to clipboard

Can not convert a NoneType into a Tensor or Operation.

Open farooqzaman1 opened this issue 4 years ago • 0 comments

TypeError Traceback (most recent call last) in () 1 if name == 'main': ----> 2 train(47, 4096, 64, 0.05, 0.3, 'models/vae_fnd_0.05_0.3') 3 # test(20, 4096, 64, 0.05, 0.3, 'models/vae_fnd_0.05_0.3') 4 # save_features(20, 4096, 64, 0.05, 0.3, '../models/vae_fnd_0.05_0.3')

21 frames /usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/ops.py in _as_graph_element_locked(self, obj, allow_tensor, allow_operation) 3757 # We give up! 3758 raise TypeError("Can not convert a %s into a %s." % -> 3759 (type(obj).name, types_str)) 3760 3761 def get_operations(self):

TypeError: Can not convert a NoneType into a Tensor or Operation.

farooqzaman1 avatar Aug 20 '20 08:08 farooqzaman1