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

Help me to understand final compilable python and tensorflow version #35

Open
vfr-xcugas opened this issue Jun 2, 2022 · 0 comments
Open

Comments

@vfr-xcugas
Copy link

Hi, Hope you are good there. Please help me to understand the version.

In google colab, we cant install in python 3.6, tensorflow 1.15.0

In conda, we can install 1.15.0 when python version 3.6

But, when I use tensorflow == 1.15.0 and run command bash install.sh
It throw error:
tensorflow/core/framework/op.h: No such file or directory
compilation terminated.

So, I tried install with Python 3.6 and tensorflow 2.4.0 using conda
It compite first step.

But for second step, when I use tensorflow 2.4.0 and python 3.6
I get following error:
AttributeError: module 'tensorflow' has no attribute 'GraphDef', to solve this error I have changed the tf.GraphDef to tf.compact.v1.GraphDef

After that I got error as: NHWC on device type CPU

when I check as:

print("Num GPUs Available: ", len(tf.config.experimental.list_physical_devices('GPU')))
I got: Num GPUs Available: 0

Cuda Version → 10.0
Cudnn Version → 7.6

But to run with tensorflow 2.4.0 we need :
Cuda Version → 11.0
Cudnn Version → 8.0

hence it cant figure out the GPU device.

But, when I run the same second step with tensorflow== 1.15.0, It give me another error as:
tensorflow.python.framework.errors_impl.NotFoundError: /content/hifi3dface/third_party/kernels/rasterize_triangles_kernel.so
When I manually tried to put the .so file in directory it gave me "Invalid ELF error"

My question is how could same script run with two different tensorflow, cuda, cudnn version.
Can you please list final,
Python Version →
Cuda Version →
Tensorflow Version →
Cudnn Version →

Thanks

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

No branches or pull requests

1 participant