Category "deep-learning"

Why do I get a Conv2D error trying to run Conv1D layer?

I am trying to write a simple 1 dimensional convolution with a regression (1 dimensional float) output. model = Sequential() model.add(Conv1D(filters=1, kernel_

How to fix the error where the target batch size does not match when I use CrossEntropyLoss function?

I am working on a trainning task with CNN. When I created the loss function with CrossEntropyLoss and trained the dataset, the error reminded me that the batch

Deep Learning Image Detection - Help needed deciphering machine learning loss and accuracy graph and finding solutions to fix model

I have an imbalanced dataset from Google OpenImages of 6 classes Train (starfish=439; Dolphin = 890; Turtle = 1362; Fish = 6216; Jellyfish = 733; Shellfish = 11

How do you implement SVoice?

I'm trying to use Facebook's SVoice to split out different speakers in my audio file using python. I found a library that implemented it here: https://github.co

Loss function for changing a classification network to a regression one

I am trying to change a neural network that classifies pointclouds into 40 different classes, to a regression networks that predicts a specific property of them

movie similarity using Word2Vec and deep Convolutional Autoencoders

i am new to python and i am trying to create a model that can measure how similar movies are based on the movies description,the steps i followed so far are: 1.

apply ResNet on CIFAR10 after resizing (pyTorch)

Given a pre-trained ResNet152, in trying to calculate predictions bench-marks using some common datasets (using PyTorch), and the first RGB dataset that came to

DNN model with maxout activation in tensorflow

How can I make this DNN model in tensorflow? 31 neurons in the first, 10 in the second, 5 in the third hidden layer, and 2 neurons in the output layer. The acti

ValueError: Input 0 of layer lstm_14 is incompatible with the layer: expected ndim=3, found ndim=4. Full shape received: [None, 12, 12, 64]

I am using CNN-LSTM network for image classification. My image size is (224, 224, 3) and batch size is 90. I m getting this error when i passing input to LSTM l

Fit unequal data into Linear Regression Model

How do I fit two unproportional arrays to a regression model? Is it possible to resize/reshape one without loosing the data? I used the code from here but my tr

training CNN model using word2vectorization,while invoking get_vector() .Showing error " KeyError: 'CALLDATASIZE' " while preparing train_x

set of word vectors are generated from github link:https://github.com/jianwei76/SoliAudit/blob/master/va/features/op.origin.csv.xz. Converted this op.origin.csv

Neural network: same prediction for different inputs

I am getting the same prediction for different inputs. I am trying to use a regressional neural network. I want to predict values instead of class using neural

keyerror 0 during cpu trainning

unknow error I am not sure what is the reason, probably my index exceed the limit of the input? But how can I solve this error? Here is the code I used https://

cannot find pysat=0.1.3 dependency

I am getting error as from pysat.solvers import Glucose3 ModuleNotFoundError: No module named 'pysat.solvers'* when I am trying newer version of pysat. I cann

How to create synthetic data based on dataset with mixed data types for classification problem?

I am trying to build a classification model, but I don't have enough data. What would be the most appropriate way to create synthetic data based on my existing

how can I modify Dataset class to make the mask RCNN work with multiple objects?

I am currently working on instance segmentation. I follow these two tutorials: https://haochen23.github.io/2020/06/fine-tune-mask-rcnn-pytorch.html https://col

AttributeError: 'list' object has no attribute 'i_sd'Which function can be used to get values from a Callback Class

The callback is called when specific events occur in an environment (e.g. at the beginning/end of a reset and beginning/end of a step). I have written a stub of

What is image data layout used in DNN models?

RGB images can be stored in memory in different ways, e.g. see link below planar and interleaved: http://avitevet.com/uncategorized/when-to-use-it-interleaved-v

"Module not Found Error : No module named albumentations"

I'm writing a code with albumentations function and it will give me this error ModuleNotFoundError: No module named 'albumentations' I also installed this pack

Low accuracy after testing hyperparameters

I am using VGG19 pre-trained model with ImageNet weights to do transfer-learning on 4 classes with keras. However I do not know if there really is a difference