I am trying to write a custom metric in keras like this: def C_index1(E,T): T = T.reshape(len(T),1) T_ind = T > T.T E_ind = E.reshape(len(E),1) E_ind
I am trying to use TensorFlow Hub in Azure ML Studio I am using the kernel Python 3.8 PT and TF And I installed a few modules: !pip install bert-for-tf2 !pip
I'm a beginner of data-science and by now, I'm trying to migrate old code keras cpu modelling to gpu-tensorflow. fyi: I'm following instruction on prof.jeffheat
I plan to transfer my Keras model to embedded C code. In order to do that, I'm first validating in python whether my calculations are correct. There are some er
I am trying to use Keras for an attention mechanism in a machine translation using an LSTM network. However, I get a TypeError exception when in my code. TypeEr
code: model = create_model() model.compile(optimize=tf.keras.optimizers.Adam(learning_rate=2e-5), loss=tf.keras.losses.BinaryCrossentropy(),
I train a model A and try to use the output of the intermediate layer with the name="layer_x" as an additional input for model B. model A is using input1, and m
I have been trying to get this zero-shot text classification joeddav / xlm-roberta-large-xnli to convert from h5 to tflite file (https://huggi
I have trained a VAE and now I am trying to predict new data using this dataset. I have taken the predict code line from this tutorial. However, when I run the
I've been working on codes for Object Detection in Google Colab as in 1 and in 2 but, when using the following code sample: !git clone --quiet https://github.co
I'm working in colab notebook, and the importing of tff (import tensorflow_federated as tff) was working for months, but suddenly, now when I try to import tff
i followed the instructions given by the official tf documentation, but i just cannot resolve the various problems encountered. Did anyone have the experience i
I am trying to build a ANN model using Tensorflow library on Spyder. Afte ı set my training and test data, ı imported the keras library as seen below
I am using Anaconda and Jupyter Notebook. I need a tensorflow_hub to import the ResNet model, however, I get the error No module named Keras. I've installed ker
I'm trying to make a denoise autoencoder wherein the encoder part is vgg16 and decoder is opposite of vgg16(encoder) network. My dataset consists of 5K images i
I have trained Mask-RCNN model, and want to try Tensorflow Serving to use it in web. So i just run tensorflow/serving docker container. And realised what i have
Importing Tensorflow gives this error This is my "code": import tensorflow as tf My versions: protoc --version libprotoc 3.15.8 pip show protobuf Name: prot
I was trying to install tensorflow in a new conda environment, but I met an incompatibility issue. First, I use conda search tensorflow-gpu -c conda-forge to se
I am trying to run a TensorFlow-lite model on my App on a smartphone. First, I trained the model with numerical data using LSTM and build the model layer using
I'm working on authorship detection from text task, I'm doing this by using a data frame consisting of symbol n-gram that I created using about 110k of 147 diff