EfficientNet Explained: Rethinking Model Scaling for Convolutional Neural Networks

  Рет қаралды 26,426

Code With Aarohi

Code With Aarohi

Күн бұрын

EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
EfficientNet is a convolutional neural network architecture and scaling method that uniformly scales all dimensions of depth/width/resolution using a compound coefficient.
For queries: aarohisingla1987@gmail.com
The researchers used the compound scaling method to scale the dimensions of the network. The applied grid search strategy to find the relationship between the different scaling dimensions of the baseline network under a fixed resource constraint. Using this strategy, the could find the appropriate scaling coefficients for each of the dimensions to be scaled-up. Using these coefficients, the baseline network was scaled by the desired size.
What does scaling mean in the context of CNNs?
There are three scaling dimensions of a CNN: depth, width, and resolution.
Depth simply means how deep the networks is which is equivalent to the number of layers in it.
Width simply means how wide the network is. One measure of width, for example, is the number of channels in a Conv layer
Resolution is simply the image resolution that is being passed to a CNN.
Compound scaling:
Compound scaling method uses a compound co-efficient ø to scale width, depth, and resolution together
Learn Vanishing Gradients: • L-13 Vanishing Gradients
Learn ResNet: • ResNet Explained Step ...
#ai #artificialintelligence #computervision #deeplearning #artificialintelligence #efficientnet

Пікірлер: 120
@nurlubanu
@nurlubanu 2 жыл бұрын
This is one of the clearest explanations I have seen. You are explaining everything in detail. Thank you!
@CodeWithAarohi
@CodeWithAarohi 2 жыл бұрын
Glad it was helpful!
@zheyeetan4048
@zheyeetan4048 3 ай бұрын
salutation from malaysia. BEST EfficientNet explanation ever!! TQ
@CodeWithAarohi
@CodeWithAarohi 3 ай бұрын
Thank you!
@rupakdey6753
@rupakdey6753 3 жыл бұрын
Easiest explanation ever . Thank you mam.
@CodeWithAarohi
@CodeWithAarohi 3 жыл бұрын
Welcome
@_ifly
@_ifly 6 ай бұрын
It was straightforward and an amazing way of explaining the point.
@CodeWithAarohi
@CodeWithAarohi 6 ай бұрын
Glad it was helpful!
@ayushkurlekar3302
@ayushkurlekar3302 2 жыл бұрын
You are explaining like a pro! Thanks mam!
@CodeWithAarohi
@CodeWithAarohi 2 жыл бұрын
My pleasure 😊
@RanjitSingh-rq1qx
@RanjitSingh-rq1qx 2 жыл бұрын
I can't explain in my word. Really mam you are best teacher😊 on the youtub. But i don't know why your subscribers is very less on KZbin.😔😔, I will share you channel with my friends.👍😊
@CodeWithAarohi
@CodeWithAarohi 2 жыл бұрын
That's very kind of you 😊
@anshadpa9582
@anshadpa9582 9 ай бұрын
Thank you for this Well explanation of Compound scaling EfficientNet B0👍
@CodeWithAarohi
@CodeWithAarohi 8 ай бұрын
Glad it was helpful!
@Sunil-ez1hx
@Sunil-ez1hx Жыл бұрын
Very nice & clear video ma’am. Please keep posting👏👏👏
@CodeWithAarohi
@CodeWithAarohi Жыл бұрын
Sure 😊
@usamarajput6418
@usamarajput6418 3 ай бұрын
this video helped me a lot. thank you Aarohi
@CodeWithAarohi
@CodeWithAarohi 3 ай бұрын
Glad it helped you :)
@YaswanthsriseshagiriNimmakayal
@YaswanthsriseshagiriNimmakayal 7 ай бұрын
at 32:36 you said the authors already fixed the values of depth width resolution factors, and found phi value, but in that research paper they kept the value of phi as 1 and did a grid search for alpha beta gamma after they found the values they adjusted the phi to upscale different Efficientnets, correct if i am wrong it will be helpful? and the video is good
@meghnadeshmukh4524
@meghnadeshmukh4524 3 ай бұрын
Thank you mam for teaching us sooo nicely.. I totally agree with @shahidulislamzahid... mam you are too good.
@CodeWithAarohi
@CodeWithAarohi 3 ай бұрын
Glad my videos are helping you. keep learning :)
@swetajain7929
@swetajain7929 Жыл бұрын
What is mb6 layer
@sumitchhabra2419
@sumitchhabra2419 2 жыл бұрын
Hi, Thanks for the amazing explanation. I have a question and would request your answer: If alpha beta and gamma are fixed. φ is obtained using Grid search. Here I want to understand, that during grid search we have to consider different values of φ. Also, I want to understand what is f here. How does the value of f contribute to the Neural Network? Please Advise. Thank You Sumit
@YashSharma-le3mo
@YashSharma-le3mo 8 ай бұрын
Nice explanation mam ❤
@CodeWithAarohi
@CodeWithAarohi 8 ай бұрын
Glad you liked it
@annaperova7092
@annaperova7092 10 ай бұрын
Thank you! Helped me a lot!
@CodeWithAarohi
@CodeWithAarohi 10 ай бұрын
Glad it helped!
@rama_gpubhuyan9409
@rama_gpubhuyan9409 2 жыл бұрын
Hello, I am using pre trained EfficientNetB0 with ImageNet, I have costume 166 image set, I am using regularizations(drop out and batch normalization )/Augmentation technique. But Getting pretty bad result my val_loss increases and val_accuracy remain constant. could you please help.
@digioasis4832
@digioasis4832 2 жыл бұрын
Thank you mam, very clear and great explanation.
@CodeWithAarohi
@CodeWithAarohi 2 жыл бұрын
You are welcome 😊
@digioasis4832
@digioasis4832 2 жыл бұрын
Mam when will you post video for grid search.
@pramodhbr4190
@pramodhbr4190 3 жыл бұрын
Thank you mam. Superb explanation
@CodeWithAarohi
@CodeWithAarohi 3 жыл бұрын
You are welcome 😊
@madhurimasarkar5913
@madhurimasarkar5913 3 жыл бұрын
It is really good explanation and helpful enough. When implementation of this will be uploaded? Please make a video of DenseNet.
@CodeWithAarohi
@CodeWithAarohi 3 жыл бұрын
Implementation of EfficientNet will be available in next 2 days. Will do video on DenseNet after finishing my pipelined videos. Keep Watching 😊
@yashrajwani2077
@yashrajwani2077 2 жыл бұрын
Thank you. Very helpful
@CodeWithAarohi
@CodeWithAarohi 2 жыл бұрын
Glad it was helpful!
@100_abirhasan8
@100_abirhasan8 Жыл бұрын
Mam, alpha=1.2,beta=1.1& gamma=1.15 and fie=1 how this value came from f=alpha x beta^fie x gamma^fie. Will you please explain or give relevant resoureces. Thank you.😊😊
@CodeWithAarohi
@CodeWithAarohi Жыл бұрын
In EfficientNet, the scaling factors for the depth, width, and resolution are denoted as alpha, beta, and gamma. These scaling factors are typically determined through a systematic search on a predefined grid to find the optimal trade-off between accuracy and computational efficiency.
@mitya7068
@mitya7068 2 жыл бұрын
Very useful, thanks a lot!
@CodeWithAarohi
@CodeWithAarohi 2 жыл бұрын
Glad it was helpful!
@samvandenelsaker9576
@samvandenelsaker9576 2 жыл бұрын
Thanks a lot!
@CodeWithAarohi
@CodeWithAarohi 2 жыл бұрын
You're welcome!
@verma.prashant
@verma.prashant 3 жыл бұрын
Your videos are very informative but I have suggestion for you that your picture block covers half of ppt, can you reduce your picture block or you can use green screen. Thanks
@CodeWithAarohi
@CodeWithAarohi 3 жыл бұрын
Thankyou for this suggestion .. Will implement from next video
@VipinSingh-he9yc
@VipinSingh-he9yc 10 ай бұрын
Moye moye
@abhaypratap5311
@abhaypratap5311 3 жыл бұрын
Please make a video on 1-D CNN
@CodeWithAarohi
@CodeWithAarohi 3 жыл бұрын
Sure, will do soon
@shahrinnakkhatra2857
@shahrinnakkhatra2857 3 жыл бұрын
Hi. actually I don't get that part with feature maps, are you referring to channels by feature maps? If yes, then I don't think this is the correct representation for that? (Which you've drawn like bounding boxes)
@CodeWithAarohi
@CodeWithAarohi 3 жыл бұрын
Hello, Yes I am referring to channels by feature maps. And I understand what do you mean by correct representation : Feature maps should be stacked one after the other. But why I have choose this image, because my intent is to show that different feature maps carry different part of information from image. And if we use more number of feature maps then we can collect more features from image . But again if we choose lots of feature map it will will work upto some extent but after that there is no use of those extra feature maps as those extra feature maps will degrade the training performance. I hope I made my point :)
@talha_anwar
@talha_anwar 3 жыл бұрын
@@CodeWithAarohi i think you are referring to increase number of filters in conv layers
@sanatshirodkar2161
@sanatshirodkar2161 2 жыл бұрын
is it mandatory to use 600*600 dimensions for EfficientNet B7, or can we use smaller dimensions, like say 120*120?
@CodeWithAarohi
@CodeWithAarohi 2 жыл бұрын
The logic behind efficientnet is to work for high resolution images. If you want to wok for small image size you can use efficientnet B0
@sanatshirodkar2161
@sanatshirodkar2161 2 жыл бұрын
@@CodeWithAarohi Okay, got it! Thank you :)
@vinothsomasundaram9519
@vinothsomasundaram9519 3 жыл бұрын
Hi i am doing research in resnet in thermal image for face recognition , can you help me?
@CodeWithAarohi
@CodeWithAarohi 3 жыл бұрын
Hello, mail me your requirement at aarohisingla1987@gmail.com Will see if I can help you
@dickymr1878
@dickymr1878 2 жыл бұрын
youre explanation is very clear!
@CodeWithAarohi
@CodeWithAarohi Жыл бұрын
Glad it was helpful!
@md.alamintalukder3261
@md.alamintalukder3261 2 жыл бұрын
Thank u so much
@CodeWithAarohi
@CodeWithAarohi 2 жыл бұрын
Most welcome 😊
@muhammadsabir6527
@muhammadsabir6527 Жыл бұрын
Maam do you have accumulative explanation on all the CNN models so that a person can get idea of which CNN model has research gap and needs to be worked on it compare to other cnn models on PhD level research gap.
@CodeWithAarohi
@CodeWithAarohi Жыл бұрын
No
@Aisha182
@Aisha182 Жыл бұрын
It helps me even in 2023 . Hats off to you
@CodeWithAarohi
@CodeWithAarohi Жыл бұрын
Glad it helped 🙂
@ShadiHazhir
@ShadiHazhir 3 ай бұрын
Amazing! I appreciate you, thank you sooo much
@CodeWithAarohi
@CodeWithAarohi 3 ай бұрын
Glad it was helpful!
@kritiohri558
@kritiohri558 3 жыл бұрын
Mam how to calculate phi?
@fghgffgvbgh
@fghgffgvbgh Жыл бұрын
Is width scaling means increasing the number of kernels/filters ?
@CodeWithAarohi
@CodeWithAarohi Жыл бұрын
yes, correct
@freya291
@freya291 2 жыл бұрын
You deserve more views and subscriptions! Thanks a lot for this wonderfull lecture
@CodeWithAarohi
@CodeWithAarohi 2 жыл бұрын
Glad my video is helpful 😊
@hasanqadhi4280
@hasanqadhi4280 Жыл бұрын
❤❤
@clydegriffiths6372
@clydegriffiths6372 2 жыл бұрын
Thanks for explanation. I have question. Can we add this ECA to YOLOv5(put somewhere inside YOLO architecture). Can it decrease Loss Function? Guess)
@tiffin2358
@tiffin2358 6 ай бұрын
Brilliant
@CodeWithAarohi
@CodeWithAarohi 6 ай бұрын
Thank you!
@spoc.mnmjecspringboardmnmjec
@spoc.mnmjecspringboardmnmjec 7 ай бұрын
Good mam🎉🎉
@CodeWithAarohi
@CodeWithAarohi 7 ай бұрын
Thanks a lot
@sudharsanb9391
@sudharsanb9391 3 жыл бұрын
Mam can u update your playlists by adding the recent videos??so that it will be easy for us to follow.Thank you
@CodeWithAarohi
@CodeWithAarohi 3 жыл бұрын
Sure I will update today
@sajedehtalebi902
@sajedehtalebi902 Жыл бұрын
great.tnx
@CodeWithAarohi
@CodeWithAarohi Жыл бұрын
welcome
@dhanshreepajankar1570
@dhanshreepajankar1570 2 жыл бұрын
Hello Ma'am, Can we perform Detection of Malware in windows system (output expected is only in YES/NO) using EfficientNet, or is it only meant for image classification?
@CodeWithAarohi
@CodeWithAarohi 2 жыл бұрын
EfficientNet is used Image Classification
@shahidulislamzahid
@shahidulislamzahid 3 ай бұрын
This is one of the clearest explanations I have seen. You are explaining everything in detail. Thank you!
@CodeWithAarohi
@CodeWithAarohi 3 ай бұрын
Glad it was helpful!
@mehrshad9
@mehrshad9 Жыл бұрын
Great explanation! keep the hard work! Thank you.
@CodeWithAarohi
@CodeWithAarohi Жыл бұрын
Glad it was helpful!
@pramaysimha8789
@pramaysimha8789 2 жыл бұрын
Thanks so much for the clear explanation. Could you also please explain Dual Attention Network for segmentation
@CodeWithAarohi
@CodeWithAarohi 2 жыл бұрын
Will try to cover in my upcoming videos
@muhammadsabir6527
@muhammadsabir6527 Жыл бұрын
wonderfully explained madam. I really liked this video.
@CodeWithAarohi
@CodeWithAarohi Жыл бұрын
Thank you so much 🙂
@ahmedshmels8866
@ahmedshmels8866 2 жыл бұрын
Wow Ma'am amazing explanation with deap knowledge No word to say !
@CodeWithAarohi
@CodeWithAarohi 2 жыл бұрын
Glad you liked it
@modernfusions1981
@modernfusions1981 2 жыл бұрын
Very good and in detailed explanation. Highly recommended
@CodeWithAarohi
@CodeWithAarohi 2 жыл бұрын
Glad it was helpful!
@MansaKundrapu
@MansaKundrapu 2 жыл бұрын
you have explained it very clearly. can we add skip connection in efficientNet ?
@CodeWithAarohi
@CodeWithAarohi 2 жыл бұрын
Yes you can modify the Network.
@aneerimmco
@aneerimmco 3 ай бұрын
Clear and non complicated. Thank you.
@CodeWithAarohi
@CodeWithAarohi 3 ай бұрын
Glad it helped!
@ariouathanane
@ariouathanane Жыл бұрын
Thank u very much for this explanations
@CodeWithAarohi
@CodeWithAarohi Жыл бұрын
Happy to help
@merv893
@merv893 2 жыл бұрын
Ok you’ve convinced me EffientNet is the one for me
@CodeWithAarohi
@CodeWithAarohi 2 жыл бұрын
👍
@nau7tico
@nau7tico 3 жыл бұрын
Wow, You are awesome. Great explanation. I didn´t understand the last part. How the grid search to obtain (phi) is done?
@CodeWithAarohi
@CodeWithAarohi 3 жыл бұрын
Will try to cover the grid search in separate video.
@santhoshkumarn8585
@santhoshkumarn8585 3 жыл бұрын
Grid search is Hyperparameter tuning technique, researcher would have have done investigation here by trying multiple values and finalized the best or optimized values as depth=1.20;width=1.10 and resolution=1.15
@mdyounusahamed6668
@mdyounusahamed6668 Жыл бұрын
Great explanation. Thank you.
@CodeWithAarohi
@CodeWithAarohi Жыл бұрын
Glad it was helpful!
@takangoudadyavangoudra8761
@takangoudadyavangoudra8761 2 жыл бұрын
A great explanation by you, Thank You
@CodeWithAarohi
@CodeWithAarohi 2 жыл бұрын
Glad my video is helpful!
@csedepartment236
@csedepartment236 Жыл бұрын
Thank You Ma'am
@CodeWithAarohi
@CodeWithAarohi Жыл бұрын
Most welcome 😊
@dattatammisetti9324
@dattatammisetti9324 2 жыл бұрын
Thankyou Aarohi di 😊
@CodeWithAarohi
@CodeWithAarohi 2 жыл бұрын
Welcome :)
@aftabshaikh5352
@aftabshaikh5352 3 жыл бұрын
Mam, with all due respect. Please don't repeat too much !!!
@CodeWithAarohi
@CodeWithAarohi 3 жыл бұрын
Thankyou for the feedback and Yes I am already working on this.
@daily-technology7269
@daily-technology7269 3 жыл бұрын
Reduce the size of your own window (at the bottom left), will make the PowerPoint presentation more visible. Otherwise its super annoying when your window is cutting off the text and you have not shared any other document as well. Nobody is here to see some enlarged version of the white space in your wall.
@CodeWithAarohi
@CodeWithAarohi 3 жыл бұрын
Thankyou for the feedback.
@pawanbhandarkar7647
@pawanbhandarkar7647 2 жыл бұрын
This is the WRONG way of giving feedback. Alternatively, you could have said: Great video! I appreciate the content you have provided. However, I suggest that you reduce the size of your video inset a bit so that it doesn't overlap with the powerpoint presentation, as it sometimes hides the text behind it. Additionally, it would be helpful if you share some documents (like the presentation you used in this video) so that we can refer to the unclear parts. Thanks
EfficientNet Implementation | EfficientNet B0 - B7 Implementation
14:50
Code With Aarohi
Рет қаралды 18 М.
Deep Learning - Computerphile
8:27
Computerphile
Рет қаралды 201 М.
Bike Vs Tricycle Fast Challenge
00:43
Russo
Рет қаралды 98 МЛН
Do you choose Inside Out 2 or The Amazing World of Gumball? 🤔
00:19
EfficientNet Explained!
7:15
Connor Shorten
Рет қаралды 55 М.
Transformer Neural Networks Derived from Scratch
18:08
Algorithmic Simplicity
Рет қаралды 141 М.
EfficientNet on Custom Dataset | Image Classification Using EfficientNet
20:51
Neural Networks Part 8: Image Classification with Convolutional Neural Networks (CNNs)
15:24
Watching Neural Networks Learn
25:28
Emergent Garden
Рет қаралды 1,3 МЛН
Convolutional Neural Network  Explained | CNN | Deep Learning
22:49
Code With Aarohi
Рет қаралды 36 М.
Variational Autoencoders | Generative AI Animated
20:09
Deepia
Рет қаралды 14 М.
How are memories stored in neural networks? | The Hopfield Network #SoME2
15:14
EfficientNet | Paper Walkthrough & PyTorch Implementation
27:34
Maciej Balawejder
Рет қаралды 1,8 М.
Bike Vs Tricycle Fast Challenge
00:43
Russo
Рет қаралды 98 МЛН