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

unable to train #11

Open
lchunleo opened this issue Nov 16, 2020 · 0 comments
Open

unable to train #11

lchunleo opened this issue Nov 16, 2020 · 0 comments

Comments

@lchunleo
Copy link

lchunleo commented Nov 16, 2020

Hi

thanks for sharing. i have perform a training using the code (with the directory change to reflect the actual position of the dataset) but i encountered..

Please use Model.fit, which supports generators.
WARNING:tensorflow:Model failed to serialize as JSON. Ignoring... Layer YoloLayer has arguments in __init__ and therefore must override get_config.
Epoch 1/100
....

Error encountered after execution:

ValueError: tf.function-decorated function tried to create variables on non-first call.

i have raised the same query on imageai, if it is answered there, will close the thread here. thank you

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