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

Tensor shape error / not training my images #151

Closed
theEngineer47 opened this issue Feb 5, 2022 · 1 comment
Closed

Tensor shape error / not training my images #151

theEngineer47 opened this issue Feb 5, 2022 · 1 comment

Comments

@theEngineer47
Copy link

theEngineer47 commented Feb 5, 2022

I have already create csv files and prepared the datasets files (dev, train,test, words...). Also I have trained the handwrite for

I am training for word classifier by wordclassifier-CTC-Retrain.ipynb

testimages = data/sets/test.csv, is_csv = True
trainimages = data/sets/train.csv , is_csv = True

Got problem on prediction:

Error:
----> 7 wordClass.run_op('train_step', fd, output=False)
...
...
...
---> 51 self.sess.run(
52 self.graph.get_operation_by_name(op),
53 feed_dict=feed)

ValueError: Cannot feed value of shape (18, 25, 3600) for Tensor 'inputs:0', which has shape '(None, 64, None, 1)'

What is the problem? Could you please explain it for me?

@DHANOLA
Copy link

DHANOLA commented Oct 26, 2022

hey can you tell me how did you solve this

Getting same error

image

image

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