Models: "ncf_test.py" failed.

Created on 20 Mar 2020  路  4Comments  路  Source: tensorflow/models

System information

  • Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
  • Mobile device (e.g., Pixel 4, Samsung Galaxy 10) if the issue happens on mobile device:
  • TensorFlow installed from (source or binary):pip3
  • TensorFlow version (use command below): Tensorflow 2.2.0rc
  • Python version: 3.6
  • Bazel version (if compiling from source):
  • GCC/Compiler version (if compiling from source):
  • CUDA/cuDNN version:
  • GPU model and memory:

Please provide the entire URL of the model you are using?

https://github.com/tensorflow/models/blob/master/official/recommendation/ncf_test.py
Describe the current behavior
Screenshot from 2020-03-20 19-19-03

Describe the expected behavior
Screenshot from 2020-03-20 19-17-20

Code to reproduce the issue

python3 official/recommendation/ncf_test.py
Other info / logs

official bug

All 4 comments

Hi @ayushmankumar7
strategy.run has been cherry picked to TF 2.2 RC1.
If you are using TF 2.1, you may revert the changes locally.

@saberkun I agree with you. Since i was using tf 2.2rc0 .. i faced this problem.

Yeah, the master branch directly integrate with tf-nightly internally. So I would recommend to use tf-nightly with the master branch. But, yes, TF 2.2 will be released soon

Sorry, TF 2.2 release is a bit slow but we are sure this change will be in. Let's close this issue. Thank you for letting us know.

Was this page helpful?
0 / 5 - 0 ratings