Questions tagged [tensorflow]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

TensorFlow does not recognize my GPU

I did all the installation steps and when I try to use the GPU I see this message. Ubuntu: 23.10 2024-03-24 20:22:51.323957: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow ...
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 ...
0 votes
0 answers
121 views

Installing TensorFlow 1.0.0 on Ubuntu 22.04 [WSL] with Python 3.6.15 Virtual Environment

I am running Ubuntu 22.04.2 LTS with the default Python version being 3.10. Additionally, I have installed Python 3.6.15 and created a virtual environment with Python 3.6.15. In this virtual ...
0 votes
0 answers
243 views

Ubuntu 22.04 Tensorflow crash: EAGAIN in phtread_create

I am currently struggling with a tensorflow training on Ubuntu 22.4 crashing with the following error message right after the call to model.fit(), before any actual training happens, in around ~30% of ...
1 vote
2 answers
13k 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 ...
0 votes
1 answer
746 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 ...
1 vote
0 answers
430 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 ...
0 votes
0 answers
117 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
1 vote
1 answer
610 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: ...
-1 votes
1 answer
861 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 ...
3 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 ...
1 vote
1 answer
3k views

.whl is not a supported wheel on this platform

My ubuntu version is: Distributor ID: Ubuntu Description: Ubuntu 16.04.3 LTS Release: 16.04 Codename: xenial I'm using python 3.5 I'm trying to install tensorFlow. I have tried a lot of ways ...
6 votes
1 answer
5k 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 ...
1 vote
2 answers
1k 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 ...
1 vote
0 answers
7k 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 ...
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 ...
0 votes
0 answers
86 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 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™ ...
2 votes
1 answer
2k 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 ...
0 votes
1 answer
675 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
1 answer
709 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 ...
1 vote
1 answer
1k 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 ...
0 votes
0 answers
477 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 vote
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 & ...
0 votes
0 answers
557 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 ...
0 votes
1 answer
565 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
155 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 ...
1 vote
0 answers
114 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] # ...
5 votes
1 answer
11k 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 ...
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....
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. # >>> ...
0 votes
1 answer
799 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
763 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 ...
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 ...
1 vote
0 answers
625 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
873 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
1 answer
170 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
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 ...
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
183 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 ...
2 votes
0 answers
521 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
0 answers
406 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
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 ...
5 votes
2 answers
8k views

How to install cuda 10.0 with nvidia-418 driver on Ubuntu 19.04?

I just upgraded my system to Ubuntu 19.04 and realized Cuda 10.0 is not getting installed. tensorflow is still not built for Cuda 10.1 and it would be great if I can downgrade my Nvidia driver from ...
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 ...
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 ...
0 votes
1 answer
257 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 ...
0 votes
0 answers
300 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
1 answer
2k 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
152 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 .