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't train model in colab #5

Open
lucydjo opened this issue Mar 19, 2021 · 1 comment
Open

Can't train model in colab #5

lucydjo opened this issue Mar 19, 2021 · 1 comment

Comments

@lucydjo
Copy link

lucydjo commented Mar 19, 2021

Hello !

Step : Train Model

%cd ~/Mask_RCNN
!python dog.py train --dataset=dataset/ --weights=coco

TypeError: Could not build a TypeSpec for <KerasTensor: shape=(None, None, 4) dtype=float32 (created by layer 'tf.math.truediv')> with type KerasTensor

How to fix ?

@gsg213
Copy link

gsg213 commented Apr 9, 2021

Hello,

Try with %tensorflow_version 1.x at the beginning of Download and extract dataset section.

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

2 participants