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

[BUG] Wide and Deep model raise error --- no attribute 'NanLossDuringTrainingError' #1969

Closed
Lulu20220 opened this issue Aug 16, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Lulu20220
Copy link

Description

In which platform does it happen?

https://github.com/microsoft/recommenders/blob/main/examples/00_quick_start/wide_deep_movielens.ipynb
Following the notebook here, change my own dataset, but it runs into this error

AttributeError: module 'tensorflow._api.v2.train' has no attribute 'NanLossDuringTrainingError'

How do we replicate the issue?

The dataset is very similar, wondering how different dataset would casue the problem

Expected behavior (i.e. solution)

Other Comments

@Lulu20220 Lulu20220 added the bug Something isn't working label Aug 16, 2023
@miguelgfierro
Copy link
Collaborator

That notebook uses tf v1.

If the data is very different, I would start from the current example in the repo and replace with the data you have until you get a reducing loss.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants