Been trying to build a CNN to classify MFCC data, but the model is instantly over-fitting. Data: 18 000 files (80% train, 20% test) 5 labels ...
Been trying to build a CNN to classify MFCC data, but the model is instantly over-fitting. Data: 18 000 files (80% train, 20% test) 5 labels ...
I need to detect object (coin) in a photo, which is to draw a rectangle around it. I tried Mark-RCNN, Retina, Yolo, SSD - same result. The rectangles ...
I have two folders, X_train and Y_train. X_train is images, Y_train is vector and .txt files. I try to train CNN for regression. I could not figure o ...
I am building a Conv1D model with train data (28659, 257) and test data (5053, 257), but I am facing a value error that says: expected min_ndim=3, fou ...
Instead of sigmoid which gives sigmoid(x) = 1 / (1 + exp(-x)) I want a activation function mish such as mish(x)=x * tanh(softplus(x)) I want ti use it ...
Cast string to float is not supported. Trying to use model.fit() bit throws me an error. Should have possibly resulted in processing the data batch wi ...
I'm trying to do semantic segmentation for magnetic resonance images, which are one channel images. To get encoder from a U-Net network I use this fu ...
Hello, I'm struggling on the subject at hand. I will start with my goal: I would like to train the following model with a sequence of images (vide ...
I am currently trying to recreate a CNN model used in the paper "Using CNN for facial expression recognition: a study of the effects of kernel siz ...
I am trying to get ROC for 10 classes. I have used CNN model (keras). I am able to get one vs rest curve but I want to get one vs one. The following i ...
I am trying to predict the label of an input image based on trained model but am getting the error of 'str' object has no attribute 'decode' at the co ...
Trying to load data from dataset into an array data[ ] , giving me a broadcasting error. code : error : ...
I'm getting this code error, and I am unsure on how to reshape my tensor. ...
I am trying to train an agent to play Connect4 game. I found an example of how it can be trained. Representation of board is 1x6x7 array: This neur ...
I am new to Python and I am trying to start CNN for one project. I mounted the gdrive and I am trying to download images from the gdrive directory. Af ...
I want to train a CNN model with image data. I have 2 classes (mask and without mask). I import and save data the following code: and I build the m ...
def my_model(): inputs = keras.Input(shape=(height,width,3)) x = layers.Conv2D(32,3)(inputs) x = layers.BatchNormalization(input_shape=(32 ...
I'm trying to figure out how to split the data based on these conditions in order to run a CNN on this: Split the training/testing dataset into two s ...
Everything is okay until I convert my image to grayscale. So the rgb's shape is (256, 256, 3) but grayscale has (256, 256). When I feed it, I get that ...
I found many answers about similar questions, but they are almost about 'removing of flatten layer'. However I didn't use any flatten layer for input ...