I am writing masters thesis about deeplearning and have a problem probably about library. Below is the error: AttributeError: module 'tensorflow.compat.v2' has
I have codes in the following, train_datagen = ImageDataGenerator( rescale=1./255, shear_range=0.2, zoom_range=0.2, horizontal
I am making a network using keras library. Lets suppose that I have 2D matrix [ 0 0 1 2 0 1 2 5 1 0 0 1 ] what I want to do is obtaining the following matrix [
Task is to determine which of 3 classes does an image belongs to, or none. I received a ready model. EfficientNet B4 with ImageNet weights had transfer learnin
I am training a convolutional neural network for binary time series classification. The training accuracy on both models is very different. If on the first it g
I wasn't expecting this to happen. The relevant code pieces are: import os import tensorflow as tf os.environ['TF_XLA_FLAGS'] = '--tf_xla_enable_xla_devices' .
This program works on Unix and I'm trying to transition it to windows. It uses multiprocessing and I understand it's an issue with being forced to use spawning
This program works on Unix and I'm trying to transition it to windows. It uses multiprocessing and I understand it's an issue with being forced to use spawning
I know this problem has been answered previously in the link below,but it does not apply to my situation.(Tensorflow - ValueError: Failed to convert a NumPy arr
I try to use Functional API for my model, but i don't understand why i have error: ValueError: Shapes (128, 100) and (128, 100, 139) are incompatible My code:
I am following an online course through linkedin regrading the Building of models through Keras. This is my code. (This is claimed to work) import pandas as p
QUESTION: I'm new to the world of computer vision and this is my second project with it. I am running an edited version of the Matterport Mask RCNN that runs wi
I just implemented a LSTM, but I'm not sure if I interpreted the structure right. is in this context testPredict = model.predict(Xtest) the last value of the se
Coming from recommender systems, precision@k is a popular metric. precision@k = number of relevant predictions in top k / k On the tensorflow docs for tf.kera
I'm trying to modify a jupyter notebook to run on colab. It's from a somewhat older repo with known compatibility issues for tensorflow/keras versions after ~2.
I am using Docker and Docker-Compose on Ubuntu 20. The application I am deploying on container is using Tensorflow. Docker-Compose build is able to be executed
The code is like this: import tensorflow as tf from keras_contrib.layers import CRF from tensorflow import keras def create_model(max_seq_len, adapter_size=64
I created a network, but got the error: AttributeError: in user code: C:\Users\LocalAdmin\.conda\envs\newenvt\lib\site-packages\keras_contrib\metrics\crf_accura
What is the tf.keras equivalent of encoder.get_feature_names found in sklearn? As shown shown in this SO question Need this to get all the one-hot encoded featu
If I freeze my base_model with trainable=false, I get strange numbers with trainable_weights. Before freezing my model has 162 trainable_weights. After freezin