Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not convert a NoneType into a Tensor or Operation. #7

Open
farooqzaman1 opened this issue Aug 20, 2020 · 0 comments
Open

Can not convert a NoneType into a Tensor or Operation. #7

farooqzaman1 opened this issue Aug 20, 2020 · 0 comments

Comments

@farooqzaman1
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant