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 with model.fit() #6

Open
guiyuliu opened this issue Jun 12, 2018 · 0 comments
Open

error with model.fit() #6

guiyuliu opened this issue Jun 12, 2018 · 0 comments

Comments

@guiyuliu
Copy link

when I run deepcca.py ,error occurred about model.fit()

    model.fit([train_set_x1, train_set_x2], np.zeros(len(train_set_x1)),
              batch_size=batch_size, epochs=epoch_num, shuffle=True,
              validation_data=([valid_set_x1, valid_set_x2], np.zeros(len(valid_set_x1))),
              callbacks=[checkpointer]) 
ValueError: ('Error when checking model target: expected no data, but got:', array([ 0.,  0.,  0., ...,  0.,  0.,  0.]))

I have questions about dummy Y ,the labels ,why it says need no data ,but got np.zeors?

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