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

Detecting problems。 #5

Open
zhangyufei1995 opened this issue Nov 20, 2019 · 0 comments
Open

Detecting problems。 #5

zhangyufei1995 opened this issue Nov 20, 2019 · 0 comments

Comments

@zhangyufei1995
Copy link

Hello, I can work when I train, and train the .h5 model, but when testing with YOLO_pred.py ,the error is reported as follows: Using a tf.Tensor as a Python bool is not allowed. Use if t is not None: instead Of if t: to test if a tensor is defined, and use TensorFlow ops such as tf.cond to execute subgraphs conditioned on the value of a tensor.

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