All Questions
Tagged with keras classification
601 questions
0
votes
0
answers
44
views
VotingClassifier only supports binary or multiclass classification. Multilabel and multi-output classification are not supported
I got an error about KerasClassifer and VotingClassifer.
At the first, I used MNIST dataset and split it then fit xtrain and ytrain by Voting classifer. If I put their estimator type into Classifier ...
0
votes
0
answers
42
views
How to combine multiple models into one by combining pre-trained layers using Keras
I have multiple models pretrained to classification. I want to combine them into one model. Each of those models contain the same EfficentNet and Resnet achitecture, then there is concatenate layer ...
0
votes
0
answers
114
views
Haversine Loss function: No gradients provided for any variable?
I'm trying to implement a custom loss function, the haversine loss that computes the distance between two points on a sphere. The coordinates of the classes are saved in a csv, hence I have to convert ...
0
votes
1
answer
88
views
How to import dataset for image sequence classification?
I want to build a model (RNN) on an image sequence to predict a binary variable. I saw a lot of tutorials for multi-input classification, but I didn't find anywhere how to import my data ?
I have a ...
0
votes
0
answers
72
views
Image Classification Model halting at epoch 1/25, tensorflow keras model
I have been following a tutorial of a deep learning neural network model project and for some reason my model halts at the first epoch when trying to train on a dataset of images. I am not sure if ...
0
votes
0
answers
29
views
How to configure dense layers dimension for a classification model of 2130 classes?
I'm doing a classification task for chinese character with 2130. What is the best practice for setting up dense layer?
number_of_classes = 2130
SResnetModel = Sequential(
[
Rescaling(1./...
0
votes
1
answer
171
views
problem between sklearn.model_selection.GridSearchCV and scikeras.wrappers.KerasClassifier
my sklearn version is 1.4.2 and my 0.13.0 , when i want to use gridsreach in classification , i got this error :
ValueError: Invalid parameter activation for estimator KerasClassifier.
This issue can ...
0
votes
0
answers
30
views
Model predict in keras strange output
Wrong results getting the classified classes of a neural network with high accuracy.
Hi guys,
I am moving my first steps in keras, and I am not able to understand if the output of a function is ...
0
votes
0
answers
81
views
Audio Classification using CNN predicting wrong all the time
I am trying to do an audio classification model that can take an audio as input and predict the genre of the music. The issue is that the accuracy is high, it is performing well on the test set but ...
0
votes
0
answers
175
views
Keras Fit Method 'Unrecognized Data Type' for NLP Classification Problem with TextVectorization
I have an LSTM based model. I am using a text vectorization layer and an embedding layer prior to the LSTM layers. I am also using two Dense layers with a softmax output. I am trying to go for ...
0
votes
1
answer
99
views
Keras CNN - Training Image Classification Model with Variable Image Sizes
I'm currently working on constructing an image classification model with Keras. The challenge I'm facing relates to the variable sizes of the images in my dataset. My goal is to build a model that can ...
0
votes
1
answer
1k
views
can't load trained keras model with custom regularization class
I'm training the PointNet3D object classification model with my own dataset following the Tutorial here in Keras: https://keras.io/examples/vision/pointnet/#point-cloud-classification-with-pointnet
...
0
votes
1
answer
122
views
Multitask learning to classify on dog images
I'm trying to train a multitask classification model (mobilenet). Basically, a single model that given an image of a dog, it classifies both the color and the breed. Each dataset simply has ...
-2
votes
1
answer
58
views
Should my classification object be black or white inline [closed]
I have a simple question. I am doing 2D shape recognition using Keras. I have these sample images I have generated using cv2:
Quarter Circle
Cross
Rectangle.
I was wondering if I should do a black ...
-1
votes
1
answer
131
views
Improving Multi-Class classification model? [closed]
I'm creating a CNN for skin lesion classification.
I recently added a weighter loss function to my model to try and improve its accuracy, but even with the new weighted losses, my model still only ...