I need help. I don't have separate train, test and validation data for my dataset on Kaggle. The dataset only has 3 folders - Normal, Benign and Malginant which contain images but no subfolders for train and test.
Sir ,help me please? I was doing gray scale image classification using VGG16. their is an error when I update the code from vgg = VGG16(input_shape=IMAGE_SIZE + [3], weights='imagenet', include_top=False) to vgg = VGG16(input_shape=IMAGE_SIZE + [1], weights='imagenet', include_top=False). help me please
I've run code with jupyter-lab but during training process always appears statement "the kernel appears to have died. it will restart automatically" . do you know the solution?
Normally you get this error when there is a mismatch in the number of data classes that you defined in model and the one which you are actually giving it. Double check the input shape, target size , number of dataset folders and the number of output layers
Hi Nachiketa, Thank you for your tutorials. I am a beginner, and I am wandering why didn't you use Validation and Test, both of the datasets to evaluate your transfer learned model? Thanks
I am also not getting validation accuracy and loss because they n have not to use a train test split. I really don't know how he is getting validation accuracy and loss for the model. Plz, include this in the code.
@@swatimishra1555when u r writing u just need to write validation split =0.2 that will automatically take 20% of our data as validation set randomly so u will get both validation loss and accuracy
sir, when you do ImageDataGenerator step how many images we get? Like, if we have 10 image in train dataset and we apply rotation_range, width_shift_range, height_shift_range=0.2 so we get 30 images or just 10 images?
Great video. I have only one question. What are the dimensions of your training and test images? Do they have to be 224*224 before you import them into the algorithm?
If your test accuracy is good, then most probably the mistake you are making is in pre processing the input. For example, if while training you are rescaling the input or something else, then you have to do the same on an image before making predictions also.
Sir Using transfer learning in various dataset we ar getting same value for all the datsets, how to process our inputs for predicting can you please do it sir, It will be of great help
x = Flatten()(vgg.output) prediction = Dense(6, activation='softmax')(x) model = Model(inputs=vgg.input, outputs=prediction) model.summary() getting this error: Attempt to convert a value (None) with an unsupported type () to a Tensor
Hi, How can we see the accuracy chart of the validation test set? How can we see the incorrect pictures in the test set? Thanks a lot
I need help. I don't have separate train, test and validation data for my dataset on Kaggle.
The dataset only has 3 folders - Normal, Benign and Malginant which contain images but no subfolders for train and test.
I have one question, the VGG16 model would have been trained for this type of Dataset ? I mean for the classes Benign and Malignant ?
Sir ,help me please? I was doing gray scale image classification using VGG16. their is an error when I update the code from
vgg = VGG16(input_shape=IMAGE_SIZE + [3], weights='imagenet', include_top=False) to
vgg = VGG16(input_shape=IMAGE_SIZE + [1], weights='imagenet', include_top=False). help me please
Thanks bhaiya can you please make a separate video for the prediction part only
This video save my life :)) Thanks a lot !!
I've run code with jupyter-lab but during training process always appears statement "the kernel appears to have died. it will restart automatically" . do you know the solution?
1 question.Lets say in my train file couple of images are not of 224*224 .How can we convert them to standard size
InvalidArgumentError: Graph execution error: -->Any idea why this error is coming ??
Normally you get this error when there is a mismatch in the number of data classes that you defined in model and the one which you are actually giving it. Double check the input shape, target size , number of dataset folders and the number of output layers
Ur videos have helped me a lot.. Thank u
how can we use grid search cv with model.fit??
Hi Nachiketa,
Thank you for your tutorials.
I am a beginner, and I am wandering why didn't you use Validation and Test, both of the datasets to evaluate your transfer learned model?
Thanks
I am also not getting validation accuracy and loss because they n
have not to use a train test split. I really don't know how he is getting validation accuracy and loss for the model. Plz, include this in the code.
Hi Nachiketa,
plz clear this doubt
@@swatimishra1555when u r writing u just need to write validation split =0.2 that will automatically take 20% of our data as validation set randomly so u will get both validation loss and accuracy
Can you please show how to predict on a new image.
Sir if you could explain the vgg.input thing we are putting in the inputs section of the model !
Can you show end to end code with model.Predict() to verify the results?
Can u apply k-fold cross-validation for this
sir, when you do ImageDataGenerator step how many images we get?
Like, if we have 10 image in train dataset and we apply rotation_range, width_shift_range, height_shift_range=0.2 so we get 30 images or just 10 images?
I could not able to resize my input into 224*224*3... Can any one help me on this
You've got a subscriber!
sir can u help me when i create folder but i have error .
Hello, this helped me a lot! I hope you could also make a tutorial for medical images using mobilenetv2
Very very useful for me , thank you :)
I'm getting that the object is not callable . Please help me
your video helped me a lot thank you
Thanks @Nachiketa . Really helped. One question , what does the .h5 extension is for?? Storing trained NNs??
Yeah, it stores the model architecture and weights
Hloo sir can you help ke for plot graph
Hi! How did you split the train, val, and test dataset?
if you download the dataset from kaggle, you will find out that the train and test sets were already split for us. but i did not find val , though
Hi... Can anyone send me the confusion matrix code for this prob?
What if we don't use steps per epoch and validation steps ? Can we use model.fit only if we don't apply augmentation.
I guess YES, as the fit_generator is deprecated in the newest version of tensorflow or keras.
Great video. I have only one question. What are the dimensions of your training and test images? Do they have to be 224*224 before you import them into the algorithm?
NO.
VGG16 expects img size to be 224*224
Great Video, it's skin lesion dataset not skin cancer.
Hi it's great .can you please share the code and link of the dataser
Already there in the description
So if I'm using grayscale images,where should I make the changes?
in the input shape. Instead of 3 as the depth of image, use 1.
hey.....can we make a gradio app on this ......i mean it will the same process ....that u showed in the earlier video ?
Yes, you can. I had shown an inception model in that video, you can just replace that by this vgg model. It will work
Instead of classification do something related to deep learning with regression analysis please.
getting error in model.fit_generator
Bro when im doing prediction im only getting class 0 for all my test data
Any idea?
If your test accuracy is good, then most probably the mistake you are making is in pre processing the input. For example, if while training you are rescaling the input or something else, then you have to do the same on an image before making predictions also.
@@NachiketaHebbar ok bro thankyou will try that out
Hi Sir, after training how can we make a prediction in one specific picture? Can you share the code ? Thanks
@@NachiketaHebbar Can you provide the code for making a prediction on a single image? THANKS
Sir Using transfer learning in various dataset we ar getting same value for all the datsets, how to process our inputs for predicting can you please do it sir, It will be of great help
can you make a video on covid 19 detetection using chest xray using transfer learning
thank you
💎🛐
Where can i find the fucking dataset
Check the fucking decsription
x = Flatten()(vgg.output)
prediction = Dense(6, activation='softmax')(x)
model = Model(inputs=vgg.input, outputs=prediction)
model.summary()
getting this error:
Attempt to convert a value (None) with an unsupported type () to a Tensor
Can you help me if I try to fit my model it says kernel is dead what shld I do for this prblm