Comments (5)
tmp = np.zeros(( int(tmph[k]), int(tmpw[k]), 3))
may help.
from mtcnn.
from mtcnn.
Hello, Same Error happened to me.
I changed 4 lines. and then it's working!
In Line (343,350), (427,428)
tmp = np.zeros((tmph[k], tmpw[k],3))
tmp[dy[k]:edy[k]+1, dx[k]:edx[k]+1] = img[y[k]:ey[k]+1, x[k]:ex[k]+1]
change like below
tmp = np.zeros(( int(tmph[k]), int(tmpw[k]),3))
tmp[ int(dy[k]):int(edy[k])+1, int(dx[k]):int(edx[k])+1] = img[int(y[k]):int(ey[k])+1, int(x[k]):int(ex[k])+1]
from mtcnn.
Much thanks!
from mtcnn.
The thread 'MainThread' (0x1930) has exited with code 0 (0x0).
Traceback (most recent call last):
File "C:\Users\Administrator\source\repos\PythonApplication8\PythonApplication8\svmex.py", line 25, in
ymin, ymax= np.zeros(int(Y[:, 1].min()-1)), np.zeros(int(Y[:, 1].max()+1))
IndexError: too many indices for array
can anyone help me to solve this?
from mtcnn.
Related Issues (20)
- Is it possible to use it without matlab_wrapper? HOT 2
- Bounding box has 5 components HOT 1
- Missing Error.txt file HOT 1
- ROC on FDDB question HOT 3
- Understanding cascading of sizes in mtcnn HOT 3
- How can I modify the batch size when I want to detect more images each one time?
- Why the results from python and matlab are different? HOT 1
- why an data blob be reshapeed to 1,3,ws,hs HOT 2
- about speed
- Gtk-CRITICAL **: gtk_widget_new HOT 3
- demo.py script failing in GPU mode
- 关于绘制PR曲线
- demo.py中的代码错误
- How to get more points of the landmarks
- 当PNet检测到一个超过阈值的anchor时,为什么要做转置? HOT 2
- 你好,使用你提供的模型结果和作者matlab测试结果不一样
- No training code?
- In function generateBoundingBox, why plus 1?
- Why nobody is providing training code for mtcnn ?
- Training code?
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 mtcnn.