Comments (4)
@JustinShenk do you have a working Dockerfile example for FER with mtcnn true
from fer.
@rishab-sharma, I have the same issue,
fer it the amazing project,
looking for the solution
from fer.
Hello,
i have the same problem. with python 3.8 and tensorflow 2.5, keras 2.4.3
"detector = FER(mtcnn=True)" -> get the AttributeError: module 'keras.utils.generic_utils' has no attribute 'to_snake_case'
of course the function works without the mtcnn=True setting. But then OpenCV's Haar Cascade classifier is used.
how can I use fer with the mtcnn -network?
Does anyone have an idea for this? Thank you
from fer.
Sorry for the late reply, I solved this issue the day I posted it.
As a solution, I opened some old docker images in which FER was running and got the pip freeze from there.
The following requirements.txt file now works for me in my docker, just match your versions for TensorFlow and Keras from here, I guess should work
absl-py==0.12.0
aiofiles==0.5.0
aniso8601==7.0.0
astunparse==1.6.3
async-exit-stack==1.0.1
async-generator==1.10
boto3==1.17.57
botocore==1.20.57
cachetools==4.2.1
certifi==2020.12.5
chardet==3.0.4
click==7.1.2
cycler==0.10.0
dnspython==2.1.0
email-validator==1.1.2
environs==9.3.2
fastapi==0.60.1
fer==20.1.3
flatbuffers==1.12
gast==0.3.3
google-auth==1.29.0
google-auth-oauthlib==0.4.4
google-pasta==0.2.0
graphene==2.1.8
graphql-core==2.3.2
graphql-relay==2.0.1
grpcio==1.32.0
h11==0.9.0
h5py==2.10.0
httptools==0.1.2
idna==2.10
importlib-metadata==4.0.1
itsdangerous==1.1.0
Jinja2==2.11.3
jmespath==0.10.0
Keras==2.4.3
Keras-Preprocessing==1.1.2
kiwisolver==1.3.1
Markdown==3.3.4
MarkupSafe==1.1.1
marshmallow==3.11.1
matplotlib==3.4.1
mtcnn==0.1.0
numpy==1.19.5
oauthlib==3.1.0
opencv-contrib-python==4.5.1.48
opencv-python==4.1.0.25
opt-einsum==3.3.0
orjson==3.5.2
pandas==1.2.4
Pillow==8.2.0
promise==2.3
protobuf==3.15.8
pyasn1==0.4.8
pyasn1-modules==0.2.8
pydantic==1.8.1
pyparsing==2.4.7
python-dateutil==2.8.1
python-dotenv==0.17.0
python-multipart==0.0.5
pytz==2021.1
PyYAML==5.4.1
redis==3.0.1
requests==2.25.0
requests-oauthlib==1.3.0
rsa==4.7.2
Rx==1.6.1
s3transfer==0.4.2
scipy==1.6.3
six==1.15.0
starlette==0.13.6
tensorboard==2.5.0
tensorboard-data-server==0.6.0
tensorboard-plugin-wit==1.8.0
tensorflow==2.4.1
tensorflow-estimator==2.4.0
termcolor==1.1.0
tqdm==4.45.0
typing-extensions==3.7.4.3
ujson==3.2.0
urllib3==1.26.4
uvicorn==0.11.6
uvloop==0.15.2
websockets==8.1
Werkzeug==1.0.1
wrapt==1.12.1
zipp==3.4.1
aiohttp==3.7.3
aiofiles==0.5.0
from fer.
Related Issues (20)
- Padding only applied to first bounding box if needed HOT 3
- ValueError: Tensor Tensor("conv2d_4/BiasAdd:0", shape=(?, ?, ?, 4), dtype=float32) is not an element of this graph. HOT 1
- Analysis for specific time interval of the video HOT 3
- Improve Processing time per frame in video while testing HOT 1
- video cropping HOT 1
- GPU usage of emotion classification HOT 2
- trouble with Video() with webcam HOT 1
- Face selection heuristic HOT 1
- 'Model' object has no attribute 'make_predict_function' HOT 10
- How can I get the timestamp data additionally? HOT 1
- the model was able to detect faces but cannot make the right bounding boxes around the face HOT 2
- cannot predict from images in jfif format HOT 1
- Batch processing
- accuracy measurement HOT 1
- unable to import FER from fer HOT 3
- Accuracy and Confusion Matrix of FER
- Logger progress bar bug.
- Issue while using audio=True parameter in analyze function HOT 2
- I can't instantiate FER object HOT 1
- Error initializing FER detector: list indices must be integers or slices, not str
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fer.