Questions tagged [tensorflow]

The tag has no usage guidance.

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

Is it possible to use Ubuntu 22.04 with GeForce GT 610 (390.157 driver) and CUDA 12.2 with TensorFlow 2.13?

I'm trying to use Ubuntu 22.04 for my CNN project. For that I'm using Jupyter Notebook. When I'm running my code in the notebook suddenly the kernel crashes. After following all the instructions ...
Spruha Pingale's user avatar
1 vote
0 answers
325 views

Error while installing AMD GPU Driver | amdgpu-lib32 dependencies not met | trying to set up ROCm

I am using Linux Kernel 6.2.0-23-generic, Ubuntu 23.04, and an AMD Radeon RX 7900 XT (not XTX!). I have 3 monitors plugged into my PC, 2 of them via a Display Port to HDMI converter and one directly ...
Mentrix's user avatar
  • 11
0 votes
0 answers
84 views

Error: Illegal Instruction

I'm try to train model by Unified SSL Benchmark (USB). I have the bug: Illegal error. I run to config: fixmatch Details for bug
Hoang Minh's user avatar
-1 votes
1 answer
569 views

Pycharm false import error alarm although code executes

I am new to PyCharm IDE (accustomed to VS code). I am getting an import error alarm on IDE with the following line of code: from tensorflow.keras.preprocessing.text import Tokenizer Error: Cannot find ...
Sayan Dey's user avatar
  • 208
1 vote
1 answer
435 views

Tensor Flow with GPU support

TUF-Gaming-FX505DT-FX505DT:/home/jithin# lspci | grep VGA 01:00.0 VGA compatible controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] (rev ff) 05:00.0 VGA compatible controller: ...
cyber space's user avatar
0 votes
0 answers
356 views

TensorFlow 2.11 gpu, tensorRT, no AVX build tf_ops_n_z.cc fail

I'm trying to build TensorFlow 2.11 with gpu but no avx in Ubuntu 20.04 cuda version is 11.8 cuDNN version is 8.7 tensorRT version is 8.5 gcc version is 9.4.0 I'm using basilisk to run bazel version ...
kjl's user avatar
  • 101
1 vote
2 answers
957 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 ...
Σωτηρης Ιωαννιδης's user avatar
1 vote
0 answers
6k 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 ...
Chaztikov's user avatar
2 votes
2 answers
6k 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 ...
JAMSHAID's user avatar
  • 231
0 votes
0 answers
84 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://...
sara u's user avatar
  • 1
2 votes
0 answers
7k 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 ...
Aref Hemati's user avatar
2 votes
1 answer
1k 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 ...
user2267367's user avatar
2 votes
0 answers
3k 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 ...
Othon Gonzalez's user avatar
1 vote
1 answer
667 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 ...
Johnnie Yin's user avatar
1 vote
1 answer
975 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 ...
raisa_'s user avatar
  • 261
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™ ...
sarafaraj sayyad's user avatar
0 votes
0 answers
431 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/...
Tim's user avatar
  • 1
0 votes
0 answers
516 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 ...
Arno's user avatar
  • 1
0 votes
1 answer
519 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 ...
Sabzaliev Shukur's user avatar
0 votes
0 answers
150 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 ...
Sabzaliev Shukur's user avatar
0 votes
1 answer
1k 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 & ...
Farnaz's user avatar
  • 103
0 votes
1 answer
1k 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....
JrV's user avatar
  • 43
1 vote
0 answers
2k 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. # >>> ...
justanewb's user avatar
  • 111
0 votes
1 answer
691 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 ...
user2423302's user avatar
0 votes
0 answers
714 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 ...
Anthoy's user avatar
  • 1
1 vote
0 answers
605 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 --...
EricAndreR's user avatar
0 votes
0 answers
766 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 ...
Unnamed's user avatar
  • 183
0 votes
1 answer
161 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 (...
Eulenfuchswiesel's user avatar
3 votes
1 answer
8k 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 ...
Oliver's user avatar
  • 61
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 : ...
partizanos's user avatar
1 vote
1 answer
180 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 ...
rosexplorer's user avatar
0 votes
0 answers
401 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 ...
Troy 's user avatar
  • 101
1 vote
1 answer
1k 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 ...
user3244786's user avatar
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 ...
I_Al-thamary's user avatar
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 ...
Fluffy's user avatar
  • 1
5 votes
1 answer
10k 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 ...
TakeMeHomeCountryRoads's user avatar
1 vote
1 answer
1k 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 ...
Innovations Anonymous's user avatar
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 ...
Matthias's user avatar
  • 135
0 votes
1 answer
246 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 ...
dheeraj 's user avatar
2 votes
0 answers
520 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-...
pookie's user avatar
  • 121
0 votes
0 answers
295 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 ...
paul's user avatar
  • 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 ...
nerd2ninja's user avatar
0 votes
1 answer
139 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 .
Ana Cooper's user avatar
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 ...
T.singh's user avatar
  • 41
1 vote
1 answer
899 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: ...
Martin V's user avatar
2 votes
0 answers
417 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 ...
Bernhard Vonbank's user avatar
6 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 ...
aibrahim's user avatar
  • 267
0 votes
1 answer
365 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 ...
June Wang's user avatar
  • 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';...
Mona Jalal's user avatar
  • 4,429
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 ...
Mona Jalal's user avatar
  • 4,429