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

Error : TypeError: not all arguments converted during string formatting #1

Open
longdcnb1998 opened this issue Nov 20, 2020 · 1 comment

Comments

@longdcnb1998
Copy link

longdcnb1998 commented Nov 20, 2020

in file train.py, when i run python train.py -> Error : File "train.py", line 308, in
callbacks=callbacks_list)
line 308 : model.fit_generator(inputgenerator, epochs=100,
steps_per_epoch=TRAIN_NUM / int(BATCH_SIZE),
validation_data=testgenerator,
validation_steps=VAL_NUM / int(BATCH_SIZE),
use_multiprocessing=True,
callbacks=callbacks_list)
Screen Shot 2020-11-20 at 11 13 41

How can i fix it?? pls!!!

@anilsathyan7
Copy link
Owner

I think it could be a version mismatch issue...
Anyway, i have updated the code for compatability.
I have confirmed that the code runs with python version: 3.6.9 and keras version: 2.4.3 in google colaboratory.

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