This is an amazing video, as a beginner you answered so many questions that popped up as I was following along, as if you were reading my mind, excellent brother
Good video. Can u show the following: 1) importing tensorflow/pytorch/scikitlearn 2) import specific version of tensorflow/ pytorch/ detectron 3) advise about loading personalised dataset - whether it should be zip upload or extracted image files.
Hi Krish, 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 the model? thanks
Error in model fit InvalidArgumentError Traceback (most recent call last) in () 7 epochs=10, 8 steps_per_epoch=len(training_set), ----> 9 validation_steps=len(test_set) 10 ) InvalidArgumentError: Reduction axis -1 is empty in shape [16,0] Any idea what can be the error. I have followed the same steps
OMG I absolutely loved your video Sir, I Have just watched it halfway and I felt I had to comment. The way you explain things are just perfect. I wish if only we students had teachers like you. I've already subscribed to your channel and can't wait to watch more of your content. Your knowledge is invaluable, and I appreciate you taking the time to share it with us. Thanks again for creating such an awesome content! 🥰 These videos really do help us beginners in a great way!!
really amazing video sir....i have learnt a lot of things thorugh watching your videos....you are just amazing.....sir please one video on how to deploy model by writing code on google colab
Dude, on the galaxy watch 4 is there a way to turn off the indicators like the airplane icon and the phone icon on the main screen? cause its annoying on analog watch faces that these icons overlay it....can't find any toggle in settings? reply plz..anyone
Thank you for your great work, I see the input image size in the Kaggle is 256x256 but you specified 224x224 is it a typo or you have done some scaling. My second question is in the training dataset you have 10 classes but your model's output has 15 classes which is not right, please elaborate.Thanks again for your awesome work.
Hello Sir, I am Yoezer greeting from Bhutan. Sir, may you kindly make videos on how to deploy machine learning models in mobile apps. E.g:- Deploying this code to mobile app and use in real life from our mobile phone to detect the disease of the plants.
Neuron will be average of your dependent variables and independent variables.. its the best practice.. and for hidden layers you can take any amount.. increase them until your accuracy increases
any solution? in google collab InvalidArgumentError Traceback (most recent call last) in () 6 epochs=10, 7 steps_per_epoch=len(training_set), ----> 8 validation_steps=len(test_set)
Has anyone followed along this video recently with success? I followed along with the video (typed along), and used the picture files from Github, but when I executed the final command to run the cell, I got an "UnimplimentedErrors" at line 8, where the code reads: "validation_steps=len(test_set)". It's a long error message, but at the end is says "DNN Library is not found." Some of the libraries installed earlier in the notebook were of a different version.
your video is really helpful thanks a lot! but i can't find the colab notebook address of the examlpe you use in this video. can you please upload again?
Sir explain XGBoost algorithm, how it differs from Gradient boost. Also I can't find easy explanation of Bayesian search in hyperparameter tuning so make one on it's theory part. Thank you
Another questions, should we save the training data in google drive and mount or copy them to colab? google drive is a cloud drive away from colab I guess. If save in google drive, the training would be slower or same same?
during to fit the model i am getting value error ValueError: You are passing a target array of shape (16, 1) while using as loss `categorical_crossentropy`. `categorical_crossentropy` expects targets to be binary matrices (1s and 0s) of shape (samples, classes). If your targets are integer classes, you can convert them to the expected format via: ``` from keras.utils import to_categorical y_binary = to_categorical(y_int) ``` Alternatively, you can use the loss function `sparse_categorical_crossentropy` instead, which does expect integer targets.
Showing epoch 1/10 but then utbis showing failed to get convolution algorithm , because of cuDNN failed so try looking to see if a warning log message is printed above this error is coming how to solve sir
Now this video is nothing but a gem.. Thank you Krish.. Just 1 question... I have seen in many datasets there is another folder called validation.. Why it's so and what's the use? Can you please explain or guide me to any of your video wish such a reference
Sir i have been following your tutorials for a long time. I want to learn about augmented reality what are the libraries or prerequisites needed. If possible please make a detail video on how to proceed in the field of augmented reality. I am eagerly waiting for your response.
Getting this error UnknownError: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
Sir,I admire u a lot..u r my role model..sir,I have a request..can u please make more deeplearning projects on colab pls..bcoz most of the students don't have a high performance laptop
@Krish Naik, and everyone.. Can someone please assist me, I have a problem when it comes to fitting my model during training... How can I fix the "Invalid-Argument-Error? I have followed all the steps from this video, but I still get the same error. Any suggestion, on how to solve the error?
Dear krish, your theory explanation on deep learning helped me a lot. My pc is low configured, it dual core windows 7 64 bit. I know it's impossible to work with tensorflow with this configuration. Let me know is it possible to practice in cloud
Hi Sir! Following your steps, I bumped into this error UnknownError: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node model/conv2d_94/Conv2D (defined at :7) ]] [Op:__inference_train_function_17502] Function call stack: train_function Could you please help me to solve it?
I think that GPU is not being used. Because 2 hrs is a long time for 18000 images classification. And I think we have to do !pip install tensorflow-gpu. Please check this out Krish. I may be wrong .
I am getting the error as InvalidArgumentError: Reduction axis -1 is empty in shape [32,0] [[node ArgMax_1 (defined at :2) ]] [Op:__inference_train_function_41918] Function call stack: train_function Please advise.
can u make a video for training a model with provided image dataset using YOLOV3 architecture. OR can u add a code for it on your github account...please..
a third question is how to keep it training backstage. the training might take much time, the mount and even the colab runtime session might disconnected before training is finished. how to resolve this concern..
is there a way to rename 'My Drive' to something like 'my_drive' in google drive? Sometimes, the space cause trouble. I know we could rename sub folders in google drive. However I didn't find the way to rename the root 'My Drive'.
Sir i have been following your tutorials. i need some little help. how i can run project files with connecting one code cell to another code cell. please help i am waiting for your response.
Can you please guide me on how to access the server through SSR, and how to train the deep learning model with the high-performance server with ssh and a webpage? i will be very thankful if you and anyone here guide me about this
i m totally new on colab .. i have one question ... what can i use in colab instead of OS module?????? i need some operations like, os.isfile .. bt i donno how . and also how can i access the folders in gDrive.. what module to use ??????
When i train the model with huge dataset then i have got message " The kernel appears to have died. It will restart automatically." but i have gpu system (Nvidia Getforce RTX 3060). Please suggest on it.
Hi krishna, i have droplet videos/images at 5 viscosity ratio each at 8 speeds of fluid .can we train deep network to find the speed of fluid for any droplet image.I need not categorize the images but it must be able to tell speeds other than given 8 speeds.plz guide
Google Colab is such a helpful resource. Thank you for explaining this!
This is an amazing video, as a beginner you answered so many questions that popped up as I was following along, as if you were reading my mind, excellent brother
Tech websites: Let's compare gpu on benchmark scores
Krish: Let's compare prices
Good video. Can u show the following:
1) importing tensorflow/pytorch/scikitlearn
2) import specific version of tensorflow/ pytorch/ detectron
3) advise about loading personalised dataset - whether it should be zip upload or extracted image files.
%tensorflow_version
% tensorflow_version 2.x
import tensorflow as tf
print(tf.__version__)
Exellent sir. you are one of my mentor in Deep learning CV.Thanku sir
This video is not for everyone it is for expert
New learners can't understand
man it's enough for a free video, if you don't know much then learn. Krish can't just explain every single step
Thank you so much sir for this wonderfull video..❤❤
Sir,
After training model on Google Colab, please make video on how to test on real time
To test on real time.. just click the picture of the leaf of tomato and use the model to predict whether the leaf is healthy or not.... google it
Great question .
@@jayhingrajiya3703 Can you please explain sir. what should be done after training the model.
@@jayhingrajiya3703 hello...can you explain more how to test in real-time..thank you so much..
He did gave UPSC in 2019 and now he is a youtuber, Sandeep bhaiya
Thank you so much sir u saved my final year project
Sir can you please can you make a video on image segmentation..🙏
And also before how we do masking
Thanks dear, A very nice and helpful video. I learned a lot and enjoyed. Stay Blessed!
I got a clear idea. Good explanation sir👏
great work ....
this is my first time on your channel
Please make a video on the architectures of cnn transfer learning models.
Thank you, I've learned from your tutorials.
THANKS ALOT! let u teach as well on text classification specially on multi label problem using CNN
Hi Krish,
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 the model?
thanks
Thank you SOOO much for making this video
Error in model fit
InvalidArgumentError Traceback (most recent call last)
in ()
7 epochs=10,
8 steps_per_epoch=len(training_set),
----> 9 validation_steps=len(test_set)
10 )
InvalidArgumentError: Reduction axis -1 is empty in shape [16,0]
Any idea what can be the error. I have followed the same steps
have you found ?
Have you resolved the error
Please help me
yes , I am also counter this error
Thanks for this wonderful tutorial Krish.
Also please do come up with the architecture video they will be really helpful
Amazing videos sir. Thanks for videos.
u been always helpful krish thank you so much
Perfect as usual. Thank you
OMG I absolutely loved your video Sir, I Have just watched it halfway and I felt I had to comment. The way you explain things are just perfect. I wish if only we students had teachers like you. I've already subscribed to your channel and can't wait to watch more of your content. Your knowledge is invaluable, and I appreciate you taking the time to share it with us.
Thanks again for creating such an awesome content! 🥰
These videos really do help us beginners in a great way!!
really amazing video sir....i have learnt a lot of things thorugh watching your videos....you are just amazing.....sir please one video on how to deploy model by writing code on google colab
Can we convert our image classification code in colab into tensorflow lite inorder to run it in android studio
Same ques
Thank you so much 🥰 it's such a wonderful help to me
The video was a lot of fun. Explaining and searching about GPUs and saying P4 instead T4 :)
After completing the epoch how can i call an image and test it? what is the code can anyone help?
Same here. I too want to do that. I have trained my model, now how to call the trained model while testing my data.
model.evaluate(test_images, test_labels, batch_size=batch_size, verbose=2)
Dude, on the galaxy watch 4 is there a way to turn off the indicators like the airplane icon and the phone icon on the main screen? cause its annoying on analog watch faces that these icons overlay it....can't find any toggle in settings? reply plz..anyone
Thank you for your great work, I see the input image size in the Kaggle is 256x256 but you specified 224x224 is it a typo or you have done some scaling. My second question is in the training dataset you have 10 classes but your model's output has 15 classes which is not right, please elaborate.Thanks again for your awesome work.
Usefull video. Thank you Sir.
Hello Sir,
I am Yoezer greeting from Bhutan.
Sir, may you kindly make videos on how to deploy machine learning models in mobile apps.
E.g:- Deploying this code to mobile app and use in real life from our mobile phone to detect the disease of the plants.
thank you very much sir for this tutorial. seems im getting the right direction for ML lecture for clinical dx. im a newbie who want a career shift.
sir, please tell me how did you know how many hidden layer and neuron will give best result in MLP-ANN?
Neuron will be average of your dependent variables and independent variables.. its the best practice.. and for hidden layers you can take any amount.. increase them until your accuracy increases
Hi Krish,
Thank you for your tutorials.
I am doing on plant species recognition can you share something............
Can you upload a video on the Facial recognition project?
Do you get it
No
sirji.....tusi great hooooo
any solution? in google collab
InvalidArgumentError Traceback (most recent call last)
in ()
6 epochs=10,
7 steps_per_epoch=len(training_set),
----> 8 validation_steps=len(test_set)
Has anyone followed along this video recently with success? I followed along with the video (typed along), and used the picture files from Github, but when I executed the final command to run the cell, I got an "UnimplimentedErrors" at line 8, where the code reads: "validation_steps=len(test_set)". It's a long error message, but at the end is says "DNN Library is not found." Some of the libraries installed earlier in the notebook were of a different version.
Sir can you show a small example of the CNN model for image interpolation using Google Colab?
Thank you very much!!! Tutorial is great
Can this training process be done by using YOLOv8?
sir can you please tell me your video in which you have explained all this code
Do you have video on Inception3 or will you make it?
your video is really helpful thanks a lot! but i can't find the colab notebook address of the examlpe you use in this video. can you please upload again?
After training the model in google colab , how to run or execute the project???
Sir please make transfer learning architect videos if its possible.
Hi Krish, I didi it all and it worked! Now, how do I save my trained model to use it in onther scripts?
After training the model what about the next process i.e runing or executing?? Please help or share videos
Sir explain XGBoost algorithm, how it differs from Gradient boost. Also I can't find easy explanation of Bayesian search in hyperparameter tuning so make one on it's theory part. Thank you
Another questions, should we save the training data in google drive and mount or copy them to colab? google drive is a cloud drive away from colab I guess. If save in google drive, the training would be slower or same same?
Do you have zoomclasses or tutoring? if yes where can i sign up?
during to fit the model i am getting value error
ValueError: You are passing a target array of shape (16, 1) while using as loss `categorical_crossentropy`. `categorical_crossentropy` expects targets to be binary matrices (1s and 0s) of shape (samples, classes). If your targets are integer classes, you can convert them to the expected format via:
```
from keras.utils import to_categorical
y_binary = to_categorical(y_int)
```
Alternatively, you can use the loss function `sparse_categorical_crossentropy` instead, which does expect integer targets.
you havent setup the number of classes, it should be greater than or equal to 2
Showing epoch 1/10 but then utbis showing failed to get convolution algorithm , because of cuDNN failed so try looking to see if a warning log message is printed above this error is coming how to solve sir
Thanks Krish.
Nice Video sir. How to change this model to tflite and deploy in android Application? Kindly do a video on that sir
Thank you. Very nice bro. I am having a hard time understanding the functions you explained. Please, share a successful path to learn.
Could you please prepare one video about how to create your own model based on CNN
Now this video is nothing but a gem.. Thank you Krish.. Just 1 question... I have seen in many datasets there is another folder called validation.. Why it's so and what's the use? Can you please explain or guide me to any of your video wish such a reference
Please make a video about csv in deep learning please for my exam
can we fine tune the last dense layers using grid search cv or keras tuner
The tutorial is incomplete. How to actually make predictions and decode category labels?😢
Sir i have been following your tutorials for a long time. I want to learn about augmented reality what are the libraries or prerequisites needed. If possible please make a detail video on how to proceed in the field of augmented reality. I am eagerly waiting for your response.
hey same here.. if you find any lead to learn AR, please let me know!
@@daivikbhatia5041 sure
Getting this error
UnknownError: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
Can anyone provide me code for PREDICTING IMAGE of these diseases in google colab please! 🙏 🙏 🙏
The path of image should be on Google drive? What if i am working with jupyter and i decide the path in my local device its will work?
Sir,I admire u a lot..u r my role model..sir,I have a request..can u please make more deeplearning projects on colab pls..bcoz most of the students don't have a high performance laptop
@Krish Naik, and everyone.. Can someone please assist me, I have a problem when it comes to fitting my model during training... How can I fix the "Invalid-Argument-Error? I have followed all the steps from this video, but I still get the same error. Any suggestion, on how to solve the error?
Dear krish, your theory explanation on deep learning helped me a lot. My pc is low configured, it dual core windows 7 64 bit. I know it's impossible to work with tensorflow with this configuration. Let me know is it possible to practice in cloud
Do i need to have cuda installed in my workstation to run Google Colab and train the model?
what is the pre-sequence of following up with this video?
any solution? in jupyter notebook
----> 3 r = model.fit_generator(
4 training_set,
5 validation_data=test_set,
6 epochs=10,
7 steps_per_epoch=len(training_set),
8 validation_steps=len(test_set)
same doubt
Hi Sir! Following your steps, I bumped into this error
UnknownError: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[node model/conv2d_94/Conv2D (defined at :7) ]] [Op:__inference_train_function_17502]
Function call stack:
train_function
Could you please help me to solve it?
Hello Sir, Did u get the solution?
The model doesnt get trained,also tried to use the same tensorflow version mentioned
After training now how to predict class for new image?
I want to know that too! Probably he needs to save the trained file on json or h5
Here we have multiple classes. After predict call we get index. How we map index with class name
Thank you so so much sir!
I think that GPU is not being used. Because 2 hrs is a long time for 18000 images classification. And I think we have to do !pip install tensorflow-gpu. Please check this out Krish. I may be wrong
.
It is using gpu...it doesn't take 2 hours it will be around 1hr 10 min
@@krishnaik06 Thanks for the reply. Good to know. WIll try it out.
@@krishnaik06 can two classes have same name while training deep learning model(i deliberatly need it)?If yes, what are its effects?
I am getting the error as InvalidArgumentError: Reduction axis -1 is empty in shape [32,0]
[[node ArgMax_1 (defined at :2) ]] [Op:__inference_train_function_41918]
Function call stack:
train_function
Please advise.
Assalam o Alaikum sir i want to know which one is the latest architecure for multi class image classification ????
can u make a video for training a model with provided image dataset using YOLOV3 architecture.
OR can u add a code for it on your github account...please..
for layer in inception.layers:
layer.trainable=False
What is the use of this code:?
U don't want to train all the layers again.so we have written this code
Those who run the code in Colab , Can you please tell me the final results will be the graph which comes after epoch process???
Hi Krish, is EarlyStopping useful for this model? how do we avoid overfitting?
a third question is how to keep it training backstage. the training might take much time, the mount and even the colab runtime session might disconnected before training is finished. how to resolve this concern..
Is google colab working in all projects or there is a limit and it can't work with complex projects ?
is there a way to rename 'My Drive' to something like 'my_drive' in google drive? Sometimes, the space cause trouble. I know we could rename sub folders in google drive. However I didn't find the way to rename the root 'My Drive'.
Sir i have been following your tutorials. i need some little help. how i can run project files with connecting one code cell to another code cell. please help i am waiting for your response.
HI Krish.... I need the concepts of Inception V3 Architecture..If already video is done can u please share the link?
can you please tell me how to use this .h5 model in raspberry pi. any conversion needed in the model or I directly use this model in raspberry pi.
Please share .h5 file to me
Can you please guide me on how to access the server through SSR, and how to train the deep learning model with the high-performance server with ssh and a webpage? i will be very thankful if you and anyone here guide me about this
Thanks for sharing !
ValueError: Asked to retrieve element 0, but the Sequence has length 0 ...Can you fix this error kindly?
hallo sir, great video learning. Can i ask if this method is also in Convolutional neural network?
Please make a video on Fixefficientnet image classification
sir can you please make video on deployment of the trained model in Django
i m totally new on colab .. i have one question ... what can i use in colab instead of OS module?????? i need some operations like, os.isfile .. bt i donno how . and also how can i access the folders in gDrive.. what module to use ??????
When i train the model with huge dataset then i have got message " The kernel appears to have died. It will restart automatically." but i have gpu system (Nvidia Getforce RTX 3060). Please suggest on it.
Hi krishna,
i have droplet videos/images at 5 viscosity ratio each at 8 speeds of fluid .can we train deep network to find the speed of fluid for any droplet image.I need not categorize the images but it must be able to tell speeds other than given 8 speeds.plz guide