Comments (8)
Would you please try to disable gpu by adding the following command in dockerfile?
ENV CUDA_VISIBLE_DEVICES=""
or
ENV CUDA_VISIBLE_DEVICES="-1"
you can add it this level: https://github.com/serengil/deepface/blob/master/Dockerfile#L45
from deepface.
Would you please try to disable gpu by adding the following command in dockerfile?
ENV CUDA_VISIBLE_DEVICES=""
or
ENV CUDA_VISIBLE_DEVICES="-1"
you can add it this level: https://github.com/serengil/deepface/blob/master/Dockerfile#L45
okay i added this line but what should i do next?? it's still doesn't work,
sorry i'm not so familiar with docker.
from deepface.
how did you run the service on aws before?
from deepface.
how did you run the service on aws before?
i installed python3 on the instance
install pip using python,
git clone https://github.com/serengil/deepface.git
pip install requirements.txt
then went to the api directory
pip install flask
pip install deepface
finally python3 api.py
and this is where i get the error
from deepface.
update dockerfile on that instance manually after clone
then run python3 api.py
again
from deepface.
oh you are not using docker. in deepface folder run this:
docker build -t deepface . && docker run -p 5000:5000 deepface
or if you do not want to use docker, then run this command in the console before running api.
apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
from deepface.
oh you are not using docker. in deepface folder run this:
docker build -t deepface . && docker run -p 5000:5000 deepface
okay what should be the size of the server?? because now it says no space left on disk to run this, i'm on meduim, 2cpu 4gb memory and the only thing on it is the cloned repository and the installed deepface package.
from deepface.
try just this please:
apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
from deepface.
Related Issues (20)
- [FEATURE]: extract_faces return face center point info or stop further enlargement if face center point can't be kept at image center HOT 8
- [BUG]: TypeError: unhashable type: 'list' HOT 2
- Fine Tuning Threshold in Face Recognition HOT 1
- New api endpoint HOT 4
- [BUG]: license is not shown in pip package
- Add TFace & Anti-Spoofing models π HOT 3
- Which Billion-Scale Database is the best for Face Recognition Query? HOT 1
- [BUG]: The verify function in gunicorn is unavailable
- [BUG]: <Wrong display of height and width values ββin DeepFace.represent function> HOT 2
- [BUG]: x of facial area left and right eye seems to be swapped since version 0.0.90 HOT 8
- [BUG]: Models ArcFace, Dlib, and others are not working. VGG-Face is the only model working for me HOT 3
- [BUG]: Age of children detected wrong HOT 1
- [BUG]: tensorflow deprecation warning with tf-keras HOT 1
- [FEATURE]: Nix flake deployment mechanism HOT 3
- [FEATURE]: Face Recognition in an image filled with other people HOT 2
- FAU Detection HOT 1
- [BUG]: Intermittent Packet Type Mismatch Error in Long-Term Face Detection with DeepFace and MediaPipe "Graph has errors: Packet type mismatch on a calculator receiving from stream "image": ; Empty packets are not allowed for type: OneOf<::mediapipe::Image, ::mediapipe::ImageFrame, mediapipe::GpuBuffer>" HOT 2
- [More info from find method]: Find method should optionally return full face detection results HOT 3
- [BUG]: deepface "find" method runs very slowly (16 sec per iteration), unable to use gpu HOT 1
- [FEATURE]: Manual image_file to pkl_representation management HOT 5
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 deepface.