I am currently creating a convolutional neural network for a rock, paper, scissors program and I get the following error: ValueError: Expected input b ...
I am currently creating a convolutional neural network for a rock, paper, scissors program and I get the following error: ValueError: Expected input b ...
I learned how to predict ages of people by the photo. In this situation, the age was the first filename number, and they used regular expression, like ...
Hello everyone so I made this cnn model. My data: Train folder->30 classes->800 images each->24000 all together Validation folder->30 c ...
I have 1000 of images. Now I like to convert those images into grayscale? ...
Yolov8 and I suspect Yolov5 handle non-square images well. I cannot see any evidence of cropping the input image, i.e. detections seem to go to the en ...
I am currently working on a face detection algorithm using MTCNN. With the below code, I am able to show the frame containing my face: FYI, the cv ...
I am trying to implement saliency_map. I am using DenseNet121 and I fit the model. cose snippet: code snippet of saliency_map: Error: TypeError: ...
I wrote a CNN function for fashion minst dataset, whenever I try to call it in the main, I receive this error: Input 0 of layer "conv2d" is incompatib ...
So I have this cnn in python. My data has 1000 training images and 100 validation images for each class. However my validation images are the same wit ...
I have created simple model to detect moving object and display its coordinates. Dataset was consisting of thermal videos captured from above, where t ...
I was working on segmentation using unet, its a multiclass segmentation problem with 21 classes. Thus Ideally we go with softmax as activation in the ...
I am trying to implement a neural network. I am using CNN model for classifying. First I split the dataset into train and test. Code Snippet: X_trai ...
I am calculating loss for multiclass(7) classification program using pytorch. I want to calculate back_ce for each class separately , but getting e ...
Im try convert old project writen on Keras to PyTorch. Keras create_model() contains folowing code. This is (129,500,1) grayscale image as input and ...
I am trying to train a CNN in anaconda, jupyter notebook. The TensorFlow version is 1.14. And I am experimenting the mobilenet_v2. Here is my code: ...
I hope you are all having a good evening! (Or whatever time of day it is for you) I was trying my hand at following along with a guide for making a CN ...
I am using scipy but getting this error again and again. I used PILLOW and still got the same error. This is my code ...
I am trying to modify the resnet18 in pytorch model for my own work. The defined resnet18 is for RGB images which has 3 channels at the beginning. I ...
I have a 8 bit binary vector ie.[1,0,0,1,1,0,1,0] which I want to convert into a greyscale image to feed into a CNN model for training. could anyone h ...
RE-EDITTED: I trained a CNN model with rehsaped images. model.add(Conv2D(32,3,padding="same", activation="relu", input_shape=(224,224,3))) I'm now try ...