Тёмный

Realtime Face Emotion Recognition | Tensorflow | Transfer Learning | Python | Train your own Images 

DeepLearning_by_PhDScholar
Подписаться 13 тыс.
Просмотров 146 тыс.
50% 1

This video contains stepwise implementation for training dataset of "Face Emotion Recognition or Facial Expression Recognition" using Transfer Learning in Tensorflow-Keras API
(00:00:00) concepts
(00:23:01) installation
(00:30:52) implementation
(1:15:08) Live Webcame demo

Опубликовано:

 

2 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 283   
@ioantocitu8474
@ioantocitu8474 3 года назад
thank you very much, you explain very well, keep up the good work!
@rahimesilpagar3588
@rahimesilpagar3588 6 месяцев назад
It was a very successful presentation of the subject. thanks a lot
@muzahirmohsin9049
@muzahirmohsin9049 3 года назад
Impressive Dr. Shan. Keep it up
@countjulu
@countjulu 3 года назад
Just a tip for everyone doing the X normalization: Cut your data set in half, your RAM will thank you
@chandanakallapalli5739
@chandanakallapalli5739 3 года назад
@Pradeep Verma Can you share the code?
@austinsaldanha8884
@austinsaldanha8884 3 года назад
@Pradeep Verma i also need the code
@VALLABHUPUSHPAR
@VALLABHUPUSHPAR 3 года назад
How to do it, I'm facing that issue
@Raysworkshop
@Raysworkshop 2 года назад
please share the code
@khadijaelkhabbazi3864
@khadijaelkhabbazi3864 Год назад
Thank you so mcuh for this great explanation
@feridjabri9154
@feridjabri9154 Год назад
thank you for your videos really it is very usefull
@sixolilemosesmaqhubu6927
@sixolilemosesmaqhubu6927 4 дня назад
Well explained, very clear
@vtv1967
@vtv1967 2 года назад
Hi, Thanks for the well-explained videos. Our request to you is please make a video on emotion recognition on Bio-signals. also I haven't seen Realtime Face Emotion Recognition with Deep Face
@mohamedmasmoudi3969
@mohamedmasmoudi3969 2 года назад
Hello Vincent, DeepLearning_by_PhDScholar posted a video talking about Face Emotion Recognition with Deep Face, here is the link: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-fkgpvkqcoJc.html
@jahongiribrohimov3106
@jahongiribrohimov3106 3 года назад
Thank you so much , you must teaching programming!!!!!
@jahongiribrohimov3106
@jahongiribrohimov3106 3 года назад
@@sashinkakumarage4739 how ? Have you telegramm ?
@shabazshiralkar8974
@shabazshiralkar8974 3 года назад
which model do u prefer best for FER,as per trainimg complexity n implenting over test dataset...?
@anantvignesh9721
@anantvignesh9721 3 года назад
Hello Dr.Shan, is it possible for you to share the validation accuracy and validation loss instead of the training accuracy and loss? TIA.
@intizarrafaideen2825
@intizarrafaideen2825 3 года назад
Thank you for this ! it was very much helpful. Could you please make a video on psychological signals as well, followed up with a hybrid model between facial and psychological emotion detection =D
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 3 года назад
Thank you for your interest, its a nice idea, and I have also worked on fusion of bio-signals and vision (video) based techniques using multi-model. your valuable suggestion is noted, I will look forward to publish a video on the topic. Till then, please keep sharing my videos and keep supporting us like this.
@ahmedsamit9032
@ahmedsamit9032 2 года назад
@@deeplearning_by_phdscholar6925 thank you dear, what are the h.w specifications that you need to excute this program? please
@sanjana9727
@sanjana9727 8 месяцев назад
@@deeplearning_by_phdscholar6925 have you uploaded the video?
@davideraffo3721
@davideraffo3721 3 года назад
Very interesting!
@pagotisandhya2253
@pagotisandhya2253 Год назад
Sir we are planning to implement sub emotions in a particular major emotion. For example for the major emotion SAD there are different sub emotions like the sad can be due to heartbreak or trouble or when he lost something or even when he is hope less the person will be in sad emotion only. To implement this we need some guidence. So we are requesting you to please accept our requests. We are waiting for your reply sir.
@snehatrivedi5461
@snehatrivedi5461 Год назад
Sir how will we do for group facial expression recognition? what changes we have to make in this code?
@Kishi1969
@Kishi1969 3 года назад
Good lecture
@hknyky2386
@hknyky2386 3 года назад
I always see the same output from neural network. How many input and hidden layer units do i have to use?
@sashinkakumarage4739
@sashinkakumarage4739 3 года назад
Sir, can you explain how to test the model using whole testing dataset?
@boopbeep1849
@boopbeep1849 3 года назад
Hello sir. I'm making a model for detecting faces with mask, face shield and without it. I use this video but I have overfitting problems. What did I do wrong?
@erfan.mostafiz
@erfan.mostafiz Год назад
Hello, can you make a tutorial also on Bio-signal/physiological based emotion detection? Highly interested for that
@pranaypampana4190
@pranaypampana4190 Год назад
hello sir, can we get the code and images that you wrote in this video.?
@jezztom102
@jezztom102 Год назад
Thanks for the well-explained videos.
@ahmedbahpullo8544
@ahmedbahpullo8544 2 года назад
thank you
@AKSHAYKUMAR-leo
@AKSHAYKUMAR-leo 3 года назад
Can we have Github Link for This Code? There is not any Link in the Description.
@rachelw5806
@rachelw5806 11 месяцев назад
Thank you for the tutorial! How can I cite your work in my writing?
@kashgaines8811
@kashgaines8811 7 месяцев назад
Is there any way to get the "Anaconda Prompt" terminal on Mac? I've only ever seen it open on Windows.
@patriciasherrynatmaja5041
@patriciasherrynatmaja5041 7 месяцев назад
sorry sir, i have a question. what is feature and label from (at the x and y append)? because i can't running them.. or it because of the datasets that i used is different? thanks
@Kikiolaolu
@Kikiolaolu 3 года назад
Please did you use any algorithm to train the data
@ViralKiller
@ViralKiller 3 года назад
I guess this will be for the Android: "I detect sadness Dr Shan, would you like a back massage?"
@aameenamohammadi653
@aameenamohammadi653 3 года назад
Hello sir, While training the model i.e., using the fit method it started running and gave a Resource exhausted error. Plzzz help me out how to solve this error.
@NayeemHaider
@NayeemHaider 3 года назад
Please make a video of emotion recognition based on bio/physiological data
@devendrasamant8832
@devendrasamant8832 3 года назад
+rep man goodwork
@Pattnaik03420
@Pattnaik03420 3 года назад
Hi i have tried your code but in the last i am getting this 'break' outside loop error. could you help me with this?
@besta_shiva
@besta_shiva Год назад
Sir at 32:00 min of video,after downloading the dataset,again you are creating "Training" folder.Do we need to extract the all "train" files of archive into training folder
@md.shafaatjamilrokon8587
@md.shafaatjamilrokon8587 3 года назад
55:57 you got this!!
@jonatapaulino
@jonatapaulino 2 года назад
Friend, congratulations on your video. I'm also working on this issue. Do you have a tip on how to store these emotions in a database?
@m4mirza179
@m4mirza179 Год назад
Hii sir could you got your answer?
@GauravKVerma-kx3ex
@GauravKVerma-kx3ex 11 месяцев назад
how can we do this not from webcam but from a feed stream of data. E.g. I setup my model as an API end point and an incoming video data say from a security camera is sent to the API and API endpoint recieves and send the data back to user as one word (angry, sad, etc)
@programmingwithsukarnapaul832
@programmingwithsukarnapaul832 2 года назад
32:54 what is the sign between folders in path?
@marameyer4472
@marameyer4472 3 года назад
Thank you so much, this video was very helpful for me. Is there a chance you could share the code and/or your pre-trained model? Keep up the good work!
@sruthikota1094
@sruthikota1094 2 года назад
णचछःंर्न
@mehmetfidanci8943
@mehmetfidanci8943 2 года назад
Did you get the trained files already? If yes please share with me.
@rajeshdharwai
@rajeshdharwai 2 года назад
​@@mehmetfidanci8943
@afriquemodel2375
@afriquemodel2375 Год назад
@@mehmetfidanci8943 i have done a transfer learning with chekpoint but i wand to use webcam to detect
@delfind8712
@delfind8712 Год назад
sir in cnn which model you have used?
@mihirpatel7803
@mihirpatel7803 3 года назад
While compile the model my losses and accuracy both are 0 Please help me out
@lalehashem5169
@lalehashem5169 2 года назад
Plz help .. How I do the test to get the accuracy of it ?? Did someone complete it
@88kalogero
@88kalogero 3 года назад
So did you manage to save the model? Cause i'm getting a tf issue with custom layers
@88kalogero
@88kalogero 3 года назад
@@sashinkakumarage4739 no I never solved it sorry! Wish u luck
@kashgaines8811
@kashgaines8811 4 месяца назад
At the end of the video you run it and it reads your emotion in real time. Does any part of the code in the video actually for it to detect emotion in real time?
@rajatpaul615
@rajatpaul615 3 года назад
i guess you must make video on Human emotions recognition
@md.shafaatjamilrokon8587
@md.shafaatjamilrokon8587 3 года назад
Assalamu Alaikum Could you please make a video on food ingredients recognition ?? Please
@aditiBhattarai
@aditiBhattarai 4 месяца назад
Hello sir at 32:00 min of video,after downloading the dataset,again you are creating "Training" folder.Do we need to extract the all "train" files of archive into training folder
@thuongpham5228
@thuongpham5228 2 года назад
is "create_training_Data()" will run lots of time?
@ameerhussainbaig
@ameerhussainbaig 2 года назад
When I run the code in the live video I am getting rectangle around my face and by default happy expression is displayed. And the emotion doesn't change even though I change my expression and in jupyter notebook it is displaying face not detected. Please can someone help me with this.
@furkatsultonov9976
@furkatsultonov9976 6 месяцев назад
Great explanation. It would be great to share the code.
@vanshikarathi2356
@vanshikarathi2356 Год назад
even after applying transfer learning , epoch started from 0.1-0.2 and not increasing even after 30 epch? what should i do?
@akeladavis7976
@akeladavis7976 2 года назад
Sir when I execute the last part it says Face not detected . What should I do? Please help me
@georgedanilenko6883
@georgedanilenko6883 3 года назад
For some reason, when I come to the actual training part, my accuracy starts only at about 17 percent. And then after training for 150 epochs, I've only been able to get the accuracy up to about 32 percent. Any suggestions of what could possibly be going wrong?
@anshkumar2848
@anshkumar2848 2 года назад
sir will you please tell me how to train epochs i am not able to do it for even 1 epochs
@sumitsoni7559
@sumitsoni7559 2 года назад
​@@anshkumar2848maybe because you are not changing your limit of trainable paramters... as not locking the previous layers. will make the whole model trainable... for which obvious reasons your computer cant handlr
@anshkumar2848
@anshkumar2848 2 года назад
@@sumitsoni7559 ok sir got it
@Rubi67446
@Rubi67446 Год назад
hwy can you help me out, while using the same code i am geting a memory error status while normalization of the numpy array for dataset size 12k what to do
@vaibhavkeni2941
@vaibhavkeni2941 Год назад
I have an error that I tensorflow/core/platform/cpu_feature_guard this tensorflow binary is optimised with oneapi deep neural network library to use the following cpu instructions in performance-critical operation AVX AV2X Please help me sir 🙏
@sitalsharma9937
@sitalsharma9937 3 года назад
Does anyone have this code up and running?
@noluvomathaba207
@noluvomathaba207 Год назад
Hi i have some problem when i try to fit the model i get this error MemoryError: Unable to allocate 16.1 GiB for an array with shape (28709, 224, 224, 3) and data type float32
@Slfga_7
@Slfga_7 2 года назад
Can i ask you what the model you used ?
@saiprasadambrale5369
@saiprasadambrale5369 3 года назад
Can we have a video on malaria detection using machine learning
@abhijithtejvaddeboina8390
@abhijithtejvaddeboina8390 3 года назад
at 47:53 while executing that step I got an error "Unable to allocate 27.2 GiB for an array with shape (24257, 224, 224, 3) and data type float64" how to resolve it
@sitalsharma9937
@sitalsharma9937 3 года назад
Try with lesser number of images it will work
@pruthvivanka2161
@pruthvivanka2161 Месяц назад
Bro where is the pre trained model which u used for new model load??
@Hizar_127
@Hizar_127 Год назад
if your model taking time to train switch to google colab and select GPU (as a runtime type)then your model will train quickly
@alexamvs480
@alexamvs480 3 года назад
Hey there, great work! For some reason even though the code runs, in the live video it shows the rectangle around my face and it constantly writes happy while in the jupyter it writes "face not detected"...Maybe you can help me out :/
@indiananime3125
@indiananime3125 2 года назад
I'm also facing similar problem where it shows surprise constantly and jupyter keep in writing "face not detected"
@babayaga2358
@babayaga2358 2 года назад
@@indiananime3125 did you find a solution for this?
@indiananime3125
@indiananime3125 2 года назад
@@babayaga2358 No
@ameerhussainbaig
@ameerhussainbaig 2 года назад
Please can someone help I am also getting the same thing though I followed the same as shown in the video
@merveozdas3069
@merveozdas3069 3 года назад
thank you for your video,but I took an error in fit function. ValueError: Input 0 is incompatible with layer model_6: expected shape=(None, 224, 224, 3), found shape=(None, 50, 50, 1) I couldn't fix that
@namanjain9387
@namanjain9387 2 года назад
img = np.expand_dims(img, axis=0) img = img/255.0
@examform9362
@examform9362 2 года назад
Can you provide me code for calculating and displaying accuracy of detection
@KashSaidIt
@KashSaidIt 8 месяцев назад
could you connect this code you've done in tensor flow to a web application or would you have to code it into a whole different IDE?
@deeplearning_by_phdscholar6925
@deeplearning_by_phdscholar6925 7 месяцев назад
Yes, of course. You can connect to web application using flask or any other framework. You dont need to code it into another IDE. The reason to use Jupyter notebook is for better runtime visualization.
@akeladavis7976
@akeladavis7976 2 года назад
Anybody know what algorithm is being used. Please inform
@ayeshakhalid5708
@ayeshakhalid5708 Год назад
Asslam alaikum! Sir I'm fresh in this Field and our teacher assign this project...I follow your instructions from the start of video but in implementation (start)where you put the image shape it occurs error which i cannot identify kindly sir help me I have no teacher who guide me plz sir
@RohitKumar-dz8dh
@RohitKumar-dz8dh 2 года назад
Sir i don't know how your code is running without throwing variable error, as you are using 'face_roi' variable inside loop scope and you are trying to access that variable after that scope.
@hmarslan_234
@hmarslan_234 Год назад
Hi Rohit, can you please suggest any solution for this, how to solve this error.
@puneethkumarvh2355
@puneethkumarvh2355 2 года назад
what's the algorithm we are using?
@soft_panda6196
@soft_panda6196 3 года назад
You are so intelegent gob bless you
@rajeshadhikari2310
@rajeshadhikari2310 2 месяца назад
what algorithm did you use to implement for this?
@sheGotSkills00
@sheGotSkills00 Год назад
Can you please provide the github link or share the notebook of the code
@sagar98534
@sagar98534 Год назад
Where can I get the code?
@mwaqarhassan
@mwaqarhassan Год назад
The length of the training data is 0. what can be the possible issue? and how to resolve this? Can you share the github link of the code?
@jatin7836
@jatin7836 3 года назад
Can you provide me the github link for the code sir
@arjunagarwal727
@arjunagarwal727 9 месяцев назад
please share the video with bio signal and intensity of emotioms
@janssenpedrola2331
@janssenpedrola2331 Год назад
I have done the tutorial in multiple notebooks and different cpu and gpu setup but the accuracy is just at 14% on the first 5 epochs
@KAZZinteractive
@KAZZinteractive 8 месяцев назад
33:00 Anaconda Prompt won't allow me to run the command saying that it isn't a runnable program
@AiWalahGuruJi
@AiWalahGuruJi 3 года назад
Can you also make a video on domain adoption and transfer learning , for example I have a dataset of Western population of Emotions and i want to apply the model to asian population .
@yashvats6560
@yashvats6560 3 года назад
+1
@ashutoshshukla4680
@ashutoshshukla4680 3 года назад
Sir may you please share your linkdin profile
@sitalsharma9937
@sitalsharma9937 3 года назад
42:01 After calling the function and printing the length of training data am getting 0 as the output . What can be the possible
@kalpatarudash3316
@kalpatarudash3316 3 года назад
did you get a solution for this
@princebadshah
@princebadshah 3 года назад
same
@_whitewalker
@_whitewalker 2 года назад
Check for any errors in the code like a typo.. it happened to me but the reason was that i forgot to provide image size in the previous steps
@rajeshdharwai
@rajeshdharwai 2 года назад
i cant move further epochs, i tried alot iam facin error... Error ValueError: Shapes (None, 1) and (None, 1000) are incompatible
@nidhiprakash5084
@nidhiprakash5084 3 года назад
can u tell me which algorithm have u used in this project for facial emotion recognition
@094_anuvabchatterjee5
@094_anuvabchatterjee5 9 месяцев назад
The code is running but in the camera, the emotion is stuck in Fear and it is not changing along with my emotion. Can anyone help me ?
@akhilkrishnana6290
@akhilkrishnana6290 Год назад
How to get a image dataset of. Diffrently abilied child and how we can classift them.. Because each people have different emotion.
@tejashrist8000
@tejashrist8000 2 года назад
How to run the real time live video code in Google Colab. I m performing this all in Google Colab. I know how to open webcam in Google Colab but then how to connect code camera capture code with my code
@user-cg5rr3bn1p
@user-cg5rr3bn1p Год назад
new_model.fit(X,Y, epochs = 25)*** ResourceExhaustedError facing.. what to do?
@intizarrafaideen2825
@intizarrafaideen2825 3 года назад
Hi, My model is taking around 10-12 hours to train one epoch, any particular reason for it? (I'm using a MacBook pro 2020)
@arpitpathak7917
@arpitpathak7917 2 года назад
same with me bro i think it has somethig to do with optimizer ot no of images in data set
@vanshikarathi2356
@vanshikarathi2356 Год назад
hey , how did you solved it then , i am getting same issue
@bswaran1645
@bswaran1645 3 года назад
Hello sir how did give img_array=imread("Training...)and it showing error in img_array.shape..please anybody to solve this solution
@BTS__Army18
@BTS__Army18 20 дней назад
I'm also stuck in error from 2days
@sanjana9727
@sanjana9727 8 месяцев назад
is there any replacement for matplotlib?
@msankar650
@msankar650 Год назад
iam getting this error please help me MemoryError: Unable to allocate 32.2 GiB for an array with shape (28709, 224, 224, 3) and data type float64
@Kikiolaolu
@Kikiolaolu 3 года назад
I am getting this error: warnings.warn('Custom mask layers require a config and must override ' when I try to save the model. Please help
@Kikiolaolu
@Kikiolaolu 3 года назад
@@sashinkakumarage4739 I did not Please if you get any solution do let me know
@syedabdullahsajjadsajjadhu8796
@syedabdullahsajjadsajjadhu8796 7 месяцев назад
how can i access your sourse code
@GayatriDuwarah
@GayatriDuwarah 3 года назад
Where to find weizmann dataset
@user-zt6kk7lm4z
@user-zt6kk7lm4z 9 месяцев назад
sir can you please help me i m getting a error--------------------------------------------------------------------------- ValueError Traceback (most recent call last) Cell In[29], line 1 ----> 1 temp = np.array(training_Data) ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (28273, 2) + inhomogeneous part.
@ahmedbahpullo8544
@ahmedbahpullo8544 2 года назад
MemoryError: Unable to allocate 26.8 GiB for an array with shape (23875, 224, 224, 3) and data type float64 !
@davideraffo3721
@davideraffo3721 3 года назад
Where we can find the code?
@dmitricherleto8234
@dmitricherleto8234 3 года назад
Sir, why is validation accuracy fluctuating?
@simoart2446
@simoart2446 2 года назад
@@llqq1744 have u manage to figure it out?
@saurabhjadhav3680
@saurabhjadhav3680 3 года назад
Thank u so much for all this, had a doubt X = X/255.0 is giving an memory error. So I tried for loop for it's iteration , is there any difference between scaling each element like X[0] = X[0]/255.0 (obviously iteration for all elements) and X = X/255.0
@austinsaldanha8884
@austinsaldanha8884 3 года назад
can u give the code for this?
@saurabhjadhav3680
@saurabhjadhav3680 3 года назад
@@austinsaldanha8884 i used the same code he's shown in this video
@austinsaldanha8884
@austinsaldanha8884 3 года назад
@@saurabhjadhav3680 I am getting memory error that it cannot allocate 32 gb so how did u fix it? i was asking the code for the for loop
@saurabhjadhav3680
@saurabhjadhav3680 3 года назад
@@austinsaldanha8884 I'll share in sometime
@austinsaldanha8884
@austinsaldanha8884 3 года назад
@@saurabhjadhav3680 bro?
Далее
Как похудеть на 10 кг ?!
07:06
Просмотров 402 тыс.
TensorFlow in 100 Seconds
2:39
Просмотров 927 тыс.
The moment we stopped understanding AI [AlexNet]
17:38
Просмотров 832 тыс.