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

TF.Keras Load Model predict low accuracy when using ROCm #1144

Open
jszhtian opened this issue Oct 11, 2020 · 2 comments
Open

TF.Keras Load Model predict low accuracy when using ROCm #1144

jszhtian opened this issue Oct 11, 2020 · 2 comments

Comments

@jszhtian
Copy link

System information

  • Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 20.04.1 LTS
  • Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: No
  • TensorFlow installed from (source or binary): binary
  • TensorFlow version (use command below): tensorflow-rocm 2.3.1
  • Python version: 3.8
  • Bazel version (if compiling from source): N/A
  • GCC/Compiler version (if compiling from source): N/A
  • CUDA/cuDNN version: ROCm
  • GPU model and memory: RX480 8GB

Describe the current behavior
I want to test the model accuracy after traning the model on a Computer Cluster.
When I use ROCm version TensorFlow on Linux, It will give me a extreme low accuracy compare with use pure CPU version Tensorflow on Windows.
image
Describe the expected behavior
Almost the same accuracy compare with pure CPU code.
Standalone code to reproduce the issue

TF2ROCm.zip

@xuhuisheng
Copy link

Maybe same problem
#1106

@ielenik
Copy link

ielenik commented Oct 15, 2020

Duplicate of #1105

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants