Questions tagged [tensorflow]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
14 views

Setting up tensorflow with gpu support on Ubuntu 20.04

I followed this link here to download tensorflow with gpu support on my Ubuntu 20.04 OS. Here is a snapshot of my .bashrc that I suspect may be the problem but I cannot verify this. # >>> ...
0
votes
1answer
75 views

how to remove python package installed by distutils

When trying to install the TensorFlow Python package on Ubuntu 20.04, the install script failed because it couldn't remove the existing Python package 'wrapt'. Error msg said the reason was it was ...
0
votes
0answers
26 views

How to installl pytorch nightly version in ubuntu

I am trying to install pytorch-nightly but I met error. How can I resolve this problem. My dev env is Ubuntu 18.04.5, Conda 4.10.1 with python 3.6, CUDA :11.1.1 pip install --pre torch torchvision ...
0
votes
0answers
63 views

Problems with Tensorflow-gpu on Ubuntu 18.04 / CUDA 10.2

I have some problems in order to install tensorflow-gpu on Ubuntu 18.04 with CUDA 10.2. This is the error that i have 2021-08-03 09:45:17.606800: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:...
0
votes
0answers
56 views

i can't install tensorflow. (no matching distribution found)

i am sorry to ask such question, but being new to coding, i can't solve this problem even with googling full 2 days. so here it goes. I'm trying to run a demo posted at github using ubuntu for ...
0
votes
0answers
116 views

TensorFlow GPU could not load cuda libraries on PyCharm

I'm having a hard time trying to get the things work with TensorFlow, nvidia and PyCharm. Basically, I had followed the pre/post steps during installation process and ended up with: eric@xps:~$ gcc --...
0
votes
0answers
77 views

Tensorflow install not working (Core dumped)

I've installed tensorflow in ubuntu20.04 LTS, but it has failed. I'm using a Virtualenv for python3.9, so I use pip command and not pip3 First I upgraded pip, and then I installed tensorflow pip ...
0
votes
0answers
31 views

How to isntall Temsorboard extension to Jupyter Lab on AWS EC2?

I want to isntall Temsorboard to Jupyter lab on AWS EC2 but it just doesent works. I have similar issue to this post. My issue that I do not want to open up the firewall as some people recommended, ...
0
votes
1answer
26 views

How to 'freeze' my running tensorflow with cuda installation

Using the tag [tensorflow], there are plenty of problems on this page from people who try to get their installation running. I managed to install tensorflow with a GPU backend using this installation (...
1
vote
1answer
356 views

Setting up tensorflow-GPU Conda environment with CUDA 11.2 and cuDNN 8.1-8.2 (CUDA 460 Driver

I am trying to create a conda environment for tensorflow-GPU. I have a GeForce RTX 3080, running Ubuntu 21.04 with the CUDA 460 driver installed (secure boot disabled). I tried to install cudatoolkit ...
0
votes
0answers
1k views

AttributeError: module 'tensorflow' has no attribute 'gfile'

Source code: config = config_util.get_configs_from_pipeline_file(files['PIPELINE_CONFIG']) Output: --------------------------------------------------------------------------- AttributeError ...
0
votes
1answer
420 views

nvidia drivers not working on ubuntu 20.04 with Nvidia quantum rtx 4000

I have an issue using my nvidia gpu with python tensorflow-gpu in ubunti 20.04 it is not detected. Please help me do some diagnostics if you have some idea In windows this works fine. What I tried : ...
0
votes
0answers
161 views

Python 3.8.5 on Ubuntu 20.04 with Pycharm IDE

I have configured GPU with cuda 11.2 (according to my system's response to nvidia-smi), with latest nvidia drivers (460.X.X). The GPU worked with my Python environment the day I configured it but now ...
0
votes
0answers
49 views

How do I make sure that TensorFlow is using my GPU and how to allocate max GPU memory

I'm using a local Jupyter Notebook server to run some machine learning experiments on my Lambda TensorBook laptop. How do I make sure that my GPU is being used by Tensorflow and Keras? And is there a ...
0
votes
0answers
253 views

Safest way to uninstall and reinstall cuda?

Problem On running dpkg -i grep -i nvidia, some of the most relevant outputs are: ii nvidia-cuda-dev 10.1.243-3 amd64 NVIDIA CUDA ...
0
votes
0answers
272 views

Tensorflow-gpu error

It is my first time training a model on GPU. I am using tensorflow. I am getting an error: InternalError: Failed copying input tensor from /job:localhost/replica:0/task:0/device:CPU:0 to /job:...
1
vote
1answer
41 views

How do I intall a older Python version than my current 3.8.5?

I am using Ubuntu 20.04 and want to install a detection tool for a Lidar sensor. This tool requires Tensorflow version 1.13.0 or a simmilar one. I figured out that the newest version doesn't have a ...
0
votes
0answers
93 views

Ubuntu 20.04 freezes when I run multiple python files

Last week, I had a problem: Unable to setup logging. [Errno 30] Read-only file system: '/var/log/landscape/sysinfo.log and I fixed it by running these commands: sudo fsck.ext4 -f /dev/mapper/ubuntu--...
0
votes
0answers
324 views

how to make nvidia/cuda/tensorflow/keras installation work

I have recently started setting up an environment to begin Machine Learning. I have Win10, an i9 processor, GeForce GTX 1650. I had Ubuntu 20.04.1 LTS, and installed vcxsrv. I was able to install ...
1
vote
1answer
251 views

Tensorflow throwing the FMA error while installing on Ubuntu 20.04.1 LTS VirtualBox?

I tried to install the Tensorflow CPU version by pip install on Ubuntu in a VirtualBox on Windows 10 host OS but after the installation, an error is thrown: The TensorFlow library was compiled to use ...
1
vote
1answer
735 views

A problem when Installing the Nvidia, Cuda on Ubuntu 16.04, and with upgrading the Ubuntu

I'm facing a problem with installing Nvidia. I have tried many solutions but none of them is working. Even, I can not open the Software Updater. #Python 3.7.4 #tensorflow-gpu 2.2.0 import tensorflow ...
0
votes
0answers
2k views

Right combination of tensorflow , Cuda, cudnn (?) and nvidia driver for gforce 2080 TI

I just installed a fresh Ubuntu 20.04, GForce 2080 TI and Intel(R) Core(TM) i7-9700KF CPU @ 3.60GHz .Setup on external 250 GB SSD. In the installation I had before I installed versions of tensorflow ...
2
votes
0answers
2k views

Changing Tensorflow PTXAS location

I am currently trying to custom train a neural network using tensorflow 2.4.0 with a RTX 3070 running CUDA 11.0 and and CUDNN 8. I am having this wierd issue where I can train the model, but I can't ...
2
votes
1answer
503 views

How to use CUDA toolkit on GeForce GTX 460m in 2020

My friend gave me this laptop a few years ago because he's upgraded since then. It has a GPU and I want to start playing around with TensorFlow or just GPUs in general. I've never been able to get ...
0
votes
0answers
15 views

When will Nvidia CUDA toolkit be updated to version 11? [duplicate]

For latest TensorFlow version 2.4 the Nvidia CUDA toolkit is required in version 11. However, the official Ubuntu repo does only include CUDA toolkit version 10: $ sudo apt install nvidia-cuda-toolkit ...
0
votes
0answers
211 views

Python 3.8 core dump when : import tensorflow2.3.0 (ubuntu 20.4)

I need tensorflow 2.3.0, and I'm using Ubuntu 20.4. When I install tensorflow via pip3 install, and then importing it in python (3.8), I get a core dump. I searched a bit and they say it's due to the ...
0
votes
1answer
120 views

Tensorflow is not working

I installed Tensorflow by using pip, but when I import it in python I'm getting such error. 2020-11-13 11:59:23.274303: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load ...
2
votes
0answers
389 views

Tensorflow on Raspberry Pi with Ubuntu 20.04

I've installed Ubuntu 20.04 on a Raspberry Pi. Both my Ubuntu and Python3 installations are 64-bit. I'm now trying to install Tensorflow so that I can run (not train) a model. I've tried various blog-...
0
votes
0answers
184 views

tensorflow 2 gpu installation problem ubuntu 18.04

I want to install tensorflow 2 with gpu support on a freshly installed ubuntu 18.04. After installing ubuntu18.04 I run the following codes available in tensorflow website. # Add NVIDIA package ...
0
votes
1answer
1k views

tensorflow.contrib

ModuleNotFoundError: No module named 'tensorflow.contrib' I've had this error on two AI related projects so far and I can only see this occurring more and more often. The two projects for reference ...
0
votes
1answer
35 views

Installed TensorFlow successfully, but after invoking python on the shell & importing it, it says tensorflow command not found

I installed TensorFlow successfully, but after invoking python on the shell and importing it, it says tensorflow command not found .
2
votes
1answer
3k views

Ubuntu 18.04.1 - Cuda 10.1 installation, updates nvidia driver to 455 which is not compatible with tensorflow,

My tensorflow 2.3.1 setup with cuda 10.1 was working fine till the time I mistakenly updated nvidia drivers and cuda. Following are the steps I am using to install cuda 10-1 Purge all cuda and nvidia ...
1
vote
1answer
591 views

ROCm installation with Radeon R7 M445 on Ubuntu 20.04

I just did a fresh install of Ubuntu 20.04 and made an attempt to install ROCm for GPU computing on AMD Radeon R7 M445. I need it to use GPU capabilities of tensorflow. I followed this tutorial: ...
2
votes
0answers
352 views

Ubuntu 18.04 Tensorflow/keras installation issues, Can someone help?

I'm very interested in Neural Networks and currently trying to install and get tensorflow and keras running. Of course I want to run all the training on my GPU but something is weird with my ...
3
votes
0answers
2k views

What is the difference between cuda-toolkit-10-1 and nvidia-cuda-toolkit when I install it on Ubuntu 20.04?

Background of my questions I have an old Lenovo ThinkPad W530 laptop with NVIDIA Corporation GK107GLM [Quadro K1000M] / Quadro K1000M/PCIe/SSE2 GPU which is with compute compatibility 3.0 and is ...
0
votes
1answer
279 views

Unable to install Ubuntu after graphics drivers(NVIDIA) update failure in Ubuntu 16.04 Virtual machine

I had Ubuntu 16.04 installed on my Virtual Box/Win10 host(graphic card: Nvidia M1200 + Intel xx) and it worked fine until I was trying to install tensorflow-gpu-1.13.0 and updating Nvidia driver using ...
0
votes
0answers
2k views

TensorRT and CuDNN for Ubuntu 20.04

How can I install these libraries/packages in Ubuntu 20.04? 2020-07-21 19:52:02.656660: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer.so.6';...
0
votes
1answer
2k views

No such file or directory: '/home/mona/anaconda3/lib/python3.7/site-packages/google_pasta-0.2.0.dist-info/METADATA'

How can I install tensorflow gpu 1.14 in Ubuntu 20.04? Using the following command I got the error (base) mona@mona:~$ pip install tensorflow-gpu==1.14 Collecting tensorflow-gpu==1.14 Downloading ...
0
votes
0answers
1k views

import tensorflow as tf Segmentation fault (core dumped) in Ubuntu 20.04

I need to install tensorflow 1.14 for DeepLabCut and I got a segmentation fault. How do I fix it? I also prefer to install the GPU version. Not sure if this is the most standard way of installing it. (...
0
votes
1answer
335 views

Cannot install CUDA 10 for Tensorfow on Ubuntu 18.04 because of Failed CC sanity check

I'm following the guidelines for installing tensorflow 2 and CUDA 10 on Ubuntu 18.04 add NVIDIA package repositories without errors, but I cannot install NVIDIA drivers. When I run: sudo apt-get ...
3
votes
0answers
561 views

Python importing tensorflow returns "Invalid MIT-MAGIC-COOKIE-1 key"

I am a linux newcomer trying to set up tensorflow with GPU for Python on Pop!_os 20.04. I tried using the proposed Pop!_os apt packages for this but they didn't work for me. After a lot of struggle on ...
2
votes
0answers
678 views

Ubuntu 18.04 and RTX 2080 SUPER systematically freezing

I’m trying to solve an insistent problem: my Ubuntu 18.04.4 LTS is randomly freezing when (apparently) using my graphics card (RTX 2080 SUPER). Kernel logs don’t show anything useful (syslog, kern, ...
0
votes
0answers
2k views

I can't install certain Python libraries because of "ImportError: cannot import name 'sysconfig' from 'distutils'"

I'm trying to upgrade from Python 3.5 to 3.8.3, and TensorFlow 1.13 to 2.2, so I can be up to date. However, having two versions of Python3 on my computer has caused a whole headache of problems. (I ...
0
votes
1answer
2k views

Unable to use GPU Ubuntu 20.04 CUDA 10.2

>>> import tensorflow as tf >>> tf.debugging.set_log_device_placement(True) >>> >>> # Create some tensors >>> a = tf.constant([[1.0, 2.0, 3.0], [4.0, 5.0, ...
1
vote
1answer
337 views

Which Ubuntu version is good for AI?

I have Ubuntu 20.04 installed and because of my CPU not supporting AVX, I'm having a lot trouble with latest versions of the software. The old version are difficult to find and not running as they ...
1
vote
2answers
5k views

Missing Libraries When Trying to Use GPU with Tensorflow

I am trying to use GPU with Tensorflow, so I installed CUDA 10.1, CUNN 7.6, TensorRT 6, and Tensorflow-GPU 2.1.0. But when I import tensorflow to check if it can detect the gpu. it gives me the ...
6
votes
2answers
4k views

Tensorflow-GPU on WSL2 not working

Is there any way to install tensorflow-gpu on WSL2? After trying to set up CUDA on WSL and running nvidia-smi, it had the error: NVIDIA-SMI has failed because it couldn't communicate with the ...
1
vote
1answer
322 views

I have to add add PATH to /etc/environment but it breaks my machine - why?

I'm trying to work with tensorflow on Ubuntu 18.04 using Deep Learning AMI from Amazon which has all CUDA verions installed. However, it's not so easy to make tensorflow 1.X work with GPU because some ...
1
vote
0answers
71 views

Ubuntu terminal taking a very long time, because of import 'keras'

I have a Ubuntu 18.04 and Windows dual boot on my SSD. And HDD is common to both, for storage. Now the problem is that the terminal takes a very very long time to open when run from hdd, but opens up ...
1
vote
0answers
91 views

Error occurred when I used tensor flow lite custom model

I faced an issue while running an object detection program using tensor flow lite costum model.I am attaching the error code bellow. classes = interpreter.get_tensor(output_details[1]['index'])[0] # ...