Comments (12)
@Wenlong0913 hello,I also want to improve the speed ,but there is poor promotion after using cuda. Have you find better method to accelerate?If so,can you please tell me?Thank you very much.
from face.evolve.
@Wenlong0913 hello,I also want to improve the speed ,but there is poor promotion after using cuda. Have you find better method to accelerate?If so,can you please tell me?Thank you very much.
Nope.
Perhaps you can try this implementation. It's faster.
https://github.com/Seanlinx/mtcnn
from face.evolve.
@Wenlong0913 I am facing the same problem. Could you give some hints on how much it is faster than this one? And do you think the key point of low gpu usage is mtcnn itself or in-efficient implementation? Also, in your provided mtcnn, there is no prediction of landmarks. How do you utilize it to align face?
from face.evolve.
Check out this fork: https://github.com/innerlee/face.evoLVe.PyTorch
Speed Comparison
original
In [1]: from PIL import Image
...: from detector import detect_faces
In [2]: img = Image.open('../disp/Fig1.png').convert('RGB')
In [3]: %time detect_faces(img)
CPU times: user 2.85 s, sys: 172 ms, total: 3.02 s
Wall time: 610 ms
the fork
In [1]: from PIL import Image
In [2]: from evolveface import detect_faces, show_results
In [3]: img = Image.open('disp/Fig1.png').convert('RGB')
In [4]: %time detect_faces(img)
CPU times: user 255 ms, sys: 6.05 ms, total: 261 ms
Wall time: 42.3 ms
from face.evolve.
@innerlee so it's all about pillow-simd?
from face.evolve.
There are lots of code optimization also
from face.evolve.
@innerlee Does it affect model performance?
from face.evolve.
Purely speed changes. The bottleneck is not model inference.
from face.evolve.
@innerlee I'm checking it out. Great work
from face.evolve.
@innerlee Hello, can u share what's the estimated time for training this repo using full dataset of Celeb-1M? I tried using 4 GPU but my estimated time is too long like 200 days for a single batch. I cannot believe it. After ten hours of training using only 1/3 of data, it's still at the first epoch with batch 1920/411750. Can u share ur training status? Thx
from face.evolve.
I use the provided weights for inference. Haven't tried training 🤷
from face.evolve.
I also have this issue, I'm running the dataset on Tesla K80
from face.evolve.
Related Issues (20)
- Mistake in the focal loss implementation?
- convert model to tensorflow lite
- 戴口罩的人脸识别有做嘛?
- Could you please help with pretrained model of IR_SE_50?
- CFP aligned dataset HOT 1
- how to do inference on webcam? HOT 1
- How to implement the triple loss? HOT 1
- Private Asia Face Data
- paddle inference demo 无法运行 HOT 2
- quero ve fecha essa po
- ms1mv2
- Missing HEAD checkpoint file
- pretrained model seems wrong
- Can we use the pretrained models for commercial use?
- Slow training HOT 1
- does it support facial recognition with masks?
- How to make the Private Asia Face Data ?
- Accuracy, training loss is so bad
- how to set the margin of the face cropped after face alignment?
- 是不是粘贴错了什么东西(
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 face.evolve.