Closed huda1197 closed 1 year ago
Hello! It should work on colab, but probably some packages need to be installed or the correct version is required. Complete list of packages is available in requirements but not all of them are required to run display_emotions. Please, copy the stack trace for your errors.
If you just want to test the models, you could start with much simpler example of my auxiliary hsemotion repository
thanks for your answers. actually I want to run it then retrain it on affectnet data set. I can do that without getting the other datasets you used in your code right? I'm facing two errors the first one is when I try to excute the block {from facial_analysis import FacialImageProcessing imgProcessing=FacialImageProcessing(False)} it gives ModuleNotFoundError: No module named 'facial_analysis' though I executed facial_analysis in colab using !python command
the other error happened when I copied all the content of facial_analysis in cells in display_emotions it all run perfectly but when i try to call the FacialImageProcessing class it gives error that name 'file' is not defined like in the picture.
note that I changed the file and replaced it with the path for the file in google drive and it gave me no such file or directory.
and what is the version of tensorflow required?
Problems solved. It was a problem in writing the path.
Ok, nice to see it. I'm closing the issue now!
Hello, I want to run the code on google colab on the pre-trained models, after reading the read.me I'm trying to run display_emotions.ipynb but I'm getting errors. Is it right to start working on display_emotions.ipynb?