cloud icon indicating copy to clipboard operation
cloud copied to clipboard

Bug cannot import tensorflow when running on AI platform

Open haifeng-jin opened this issue 5 years ago • 2 comments

If I run tfc with this base image docker_base_image="tensorflow/tensorflow:2.2.0-custom-op-gpu-ubuntu16, it would successfully submit the job, but got ImportError: No module named tensorflow in the cloud log. Log Link

haifeng-jin avatar Jul 07 '20 21:07 haifeng-jin

Thank you @haifeng-jin. Is this a custom docker image you created?

pavithrasv avatar Jul 16 '20 21:07 pavithrasv

It is an official image. You can find it here: https://hub.docker.com/layers/tensorflow/tensorflow/2.2.0-custom-op-gpu-ubuntu16/images/sha256-d4f8838c8e2f986ba301f8500e497e6752e9371ef8a58f4ad111ae190dfb3eed?context=explore

haifeng-jin avatar Jul 16 '20 21:07 haifeng-jin