recommenders-team / recommenders

Best Practices on Recommendation Systems
https://recommenders-team.github.io/recommenders/intro.html
MIT License
18.81k stars 3.07k forks source link

Update model.py #2142

Closed siyerp closed 1 month ago

siyerp commented 1 month ago

Fixed a line for a newer version of tensorflow

Description

https://github.com/tensorflow/tensorflow/issues/50359

I was getting a similar issue, and this seems to be the way to fix it.

Related Issues

References

Checklist: