Category "deep-learning"

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

How to create numpy array for a dataset?

I've a dataset of almost 3k colored images each of dim 1920x1080 and I want to store it in a numpy array so when calling shape on it in returns (3716,493,491,3)

Why would we use Connectionist Temporal Classification(CTC) in speech recognition?

I am new to speech recognition. I've read some blogs about CTC. It tackles sequence problems where the timing is variable. One piece of speech signal may contai

WARNING:tensorflow:Compiled the loaded model, but the compiled metrics have yet to be built. `model.compile_metrics` will be empty until you train

I am trying to run a yolov4 + DeepSORT object tracker on tensorflow. However, when I attempt to run save_model.py to convert the darknet weights of yolov4 to a

Converting PyTorch Boolean target to regression target

Question I have code that is based on Part 2, Chapter 11 of Deep Learning with PyTorch, by Luca Pietro Giovanni Antiga, Thomas Viehmann, and Eli Stevens. It's

Jacobian diagonal computation in JAX

I was wondering how we could use jax (https://github.com/google/jax) to compute a mapping of the derivative. That is to say : we have a vector and we want t

Every time I train my CNN on matlab, is it remembering the old weights from the previous time I trained it? Or does it reset them?

So for example, I have trained a CNN on my data using a learning rate of 0.0003 and 10 epochs, with a minibatch size of 32. After training it, lets say I get an