Category : tensorflow2.0

I am trying to use GPU with Tensorflow. My Tensorflow version is 2.4.1 and I am using Cuda version 11.2. Here is the output of nvidia-smi. +—————————————————————————–+ | NVIDIA-SMI 460.39 Driver Version: 460.39 CUDA Version: 11.2 | |——————————-+———————-+———————-+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage ..

Read more

I have been trying to train a model for detecting cats in photos using a CNN. And I have been using these datasets : https://www.kaggle.com/shaunthesheep/microsoft-catsvsdogs-dataset https://www.kaggle.com/balraj98/facades-dataset I have been getting this error: tensorflow.python.framework.errors_impl.InvalidArgumentError: Input size should match (header_size + row_size * abs_height) but they differ by 2 [[{{node decode_image/DecodeImage}}]] [[IteratorGetNext]] [Op:__inference_train_function_962] Function call stack: train_function ..

Read more

I need to generate images with a Sum Product Network (like a GAN) with Tensorflow 2 (and Python3.x). I found some libs like (https://github.com/pronobis/libspn-keras) or (https://github.com/SPFlow/SPFlow) But the last one, the examples are not for TF 2 sadly. My question is now, do they have a sample/generate function? I didnt found one. Source: Python-3x..

Read more

I read in an installation procedure that for 2.4 version of tensorflow , after installing the nvidia cuda toolkit and cuDNN it is enough to do "$ pip install tensorflow" (to access the GPU) and these days it is not necessary for doing "$ pip install tensorflow-gpu". Am I right about this , also by ..

Read more

I’m a pretty new of Tensorflow. I created a sub-classed custom layer which has Variable. But I’m not sure how to visualize the Variable updating and the layer’s input and output on Tensorboard. Questions Basically, what are the best ways to get Variables in custom layers and the input/output of layers during the training process? ..

Read more