Questions tagged [tensorflow]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
34 views

NVIDIA Drivers on Ubuntu VM

Im trying to set up Tensorflow on Ubuntu that I install on Virtual Box. I already install some packages but still doenst seems to work. The error message that I get all time while I try to run the ...
0 votes
0 answers
691 views

Ubuntu 22.04 issue, cannot install libc6-dev ... you have held broken packages

I do not know how to fix the following, and it's causing a huge delay on my progress on a research project: (base) chaztikov@priority:~/git/modulus$ sudo apt-get install libc6-dev Reading package ...
0 votes
1 answer
976 views

installing nvidia-cuda-toolkit removes nvidia-smi

I have installed nvidia-cuda-toolkit on my ubuntu 22.04 and it removed nvidia-smi. It removed libnvidia-compute-515 nvidia-utils-515 which also removed nvidia-smi. If I try updating my drivers using ...
  • 201
0 votes
0 answers
57 views

Lack of disk space: Factory reset of dual booted Ubuntu 20.04?

Is it a good idea to make a factory reset of ubuntu 20.04 (dual boot) due to lack of space? If so, how is it done? Background: Tried installing tensorflow (following the step-by-step guide: https://...
  • 1
1 vote
0 answers
3k views

Cuda 10.1 on Ubuntu version 22.04 installation

After installing the last released Nvidia driver (418.226), I see "Cuda version 10.1" in nvidia-smi command (first snapshot). I guess it means I have to install Cuda version 10.1, based on ...
1 vote
1 answer
563 views

Can't make Tensorflow run on GPU

hello ubuntu community, I am trying to train a new model of deepspeech, like in this description. If I follow every single step, I can train a model. But it is training on my CPU. I tried to install ...
1 vote
0 answers
1k views

How can I install gcc-7 for Ubuntu 22.04?

I've just installed Ubuntu 22.04, and I'm struggling installing gcc-7. I've already tried with sudo apt install gcc-7 but it says there is no installation candidate. I tried to find a PPA for this ...
1 vote
1 answer
468 views

Using swap space on Ubuntu 22.04, python application exit automatically

Recently I upgraded my ubuntu from 21.10 to 22.04, system works well after upgraded, but something went wrong when I run the python script, it works well on exsiting system 21.10, but didn't work on ...
0 votes
0 answers
175 views

Ubuntu 20.04 with Python 3.9 will not import Tensorflow due to SSE4.2 not available

Ubuntu 20.04 with Python3.9 will not import Tensorflow. Message says library uses SSE4.2 instructions but they aren't available on this machine. However, this is a dual boot system and With Windows10 ...
1 vote
1 answer
444 views

FFmpeg for Super Resolution : libtensorflow_framework Relink Error & vaSyncBuffer undefined symbol

I am trying to do Super Resolution with FFmpeg following this thread from Video Stackexchange : How do the super resolution filters in FFmpeg work ?. SYSTEM : Ubuntu 20.04 Nvidia 510 (verified using ...
  • 203
1 vote
0 answers
2k views

AVX support problem

When I import tensorflow in python shell it gives error: The TensorFlow library was compiled to use AVX instructions, but these aren't available on your machine. Aborted Whereas i have intel® Core™ ...
0 votes
0 answers
215 views

Bazel finds no targets to be built for tensorflow

I'm trying to build Tensorflow with GPU support for Deepspeech because my CPU does not support AVX instructions. I have followed the instructions from https://deepspeech.readthedocs.io/en/latest/...
  • 1
0 votes
0 answers
234 views

Can't properly install cuda and cuDNN

I have big troubles to install cuda and cuDNN to be able use my GPU with machine learning library. TLDR; Help me install cuda and cuDNN to work with my configuration. Long Version I finally success ...
  • 1
0 votes
0 answers
336 views

CUDA toolkit seems intal but tensorflow don't see GPU

I have a laptop with an RTX3060, I use tensorflow >= 2.6.0 on ubuntu 20.04. I have installed nvidia drivers version 495.44 I installed dependencies following tensorflow tutorial. I have installed ...
  • 1
0 votes
1 answer
309 views

Can't install nvidia-cuda-toolkit

Ubuntu 20.04 x86_64 GeForce GT 730 Cuda 10.1 Can I install tensorflow gpu with my system ? After running sudo apt install nvidia-cuda-toolkit get this error Reading package lists... Done Building ...
0 votes
0 answers
130 views

Can't install updates after I failed to install tensorflow

Ubuntu 20.04 x86_64 GeForce GT 730 Cuda 10.1 (checked before installing tensorflow, using nvcc --version worked, but now doesn't) After I tried to install tensorflow and I failed first I couldn't ...
0 votes
1 answer
514 views

inconsistent CUDA toolkit path /usr vs /usr/lib, tensorflow build from source

When I use the default tensorflow build I get Illegal instruction core dumped error. Based on my research https://stackoverflow.com/questions/60858317/how-to-fix-illegal-instruction-core-dumped & ...
  • 103
0 votes
1 answer
975 views

Tensorflow does not detect GPU - lambdalabs

I try to get tensorflow GPU up and running in a virtual environment (venv): I use lambdalabs OS is Ubuntu 20.04.3 LTS. I have following python script: checkGPY.py: import tensorflow as tf if tf.test....
  • 13
1 vote
0 answers
1k 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. # >>> ...
  • 111
0 votes
1 answer
368 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
0 answers
507 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 ...
  • 1
0 votes
0 answers
322 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 ...
  • 1
1 vote
0 answers
432 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
0 answers
351 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 ...
  • 153
0 votes
1 answer
105 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 (...
2 votes
1 answer
5k 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 ...
  • 51
0 votes
1 answer
1k 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 : ...
1 vote
1 answer
132 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
0 answers
378 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 ...
  • 101
1 vote
1 answer
727 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
1 answer
1k 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
0 answers
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 ...
  • 1
5 votes
1 answer
6k 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 ...
1 vote
1 answer
932 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
0 answers
17 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 ...
  • 125
0 votes
1 answer
198 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
0 answers
502 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-...
  • 121
0 votes
0 answers
259 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 ...
  • 11
0 votes
1 answer
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
1 answer
81 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
1 answer
4k 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 ...
  • 41
1 vote
1 answer
782 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
0 answers
399 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 ...
5 votes
1 answer
4k 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 ...
  • 257
0 votes
1 answer
342 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 ...
  • 101
0 votes
0 answers
3k 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';...
  • 3,919
0 votes
1 answer
3k 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 ...
  • 3,919
0 votes
0 answers
2k 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. (...
  • 3,919
0 votes
1 answer
588 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 ...
  • 131
4 votes
0 answers
971 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 ...
  • 41