tensorflow / tensorflow/models

tensorflow object detection API setup.py script installs wrong version of tensorflow 2.4.1 (previously stable tensorflow 2.2.0)

Open
#9,862 7 comments 0 reactions 4 assignees View on GitHub

Nobody has claimed this yet.

models:research:odapi type:docs
Dominant language
Python
Stars
77.7k
Forks
44.8k
PR merge metrics
No merged PRs in 30d

Description

Prerequisites

Please answer the following question for yourself before submitting an issue.

  • I checked to make sure that this issue has not been filed already.

1. The entire URL of the documentation with the issue

https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/install.html#install-the-object-detection-api

2. Describe the issue

********* From within TensorFlow/models/research/
cp object_detection/packages/tf2/setup.py .
python -m pip install .

I was following the install guide exactly from there and initially I had pip installed tensorflow 2.2.0 and initially the correspondingly correct cudnn 7.6.5 and cudatoolkit 10.1 are installed from nvidia and the simple tests done so far indicate it was working with cudnn and cudatoolkit. But after the forced update to tensorflow 2.4.1 I can no longer link the cuda and cudnn correctly. The problem came directly with the update to tensorflow 2.4.1. I require stable version of the tensorflow object detection API and would preferably like to use transfer learning on some official models that come with this model zoo. Its possible I did something wrong but I just followed the official instruction. and I'm getting really frustrated.

The attached text file shows the terminal output from the pip install from the "python -m pip install ." I did that command from anaconda env prompt.

(tf_new) C:\Users\lauri\Documents\tf_new\Tensorflow\models\research>python -c "import tensorflow as tf;print(tf.reduce_sum(tf.random.normal([1000, 1000])))"
2021-04-01 00:43:57.993189: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2021-04-01 00:43:57.993325: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2021-04-01 00:43:59.972466: I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set
2021-04-01 00:44:00.004275: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library nvcuda.dll
2021-04-01 00:44:00.213029: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1720] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: NVIDIA GeForce RTX 2070 SUPER computeCapability: 7.5

tensorflow_badinstall_terminal_output.txt

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.