Comments (18)
I changed to the following in FaceBoxes/utils/nms/cpu_nms.pyx after lots of tries and it seems to be working (in progress)
def cpu_nms(np.ndarray[np.float32_t, ndim=2] dets, np.float thresh):
cdef np.ndarray[np.float32_t, ndim=1] x1 = dets[:, 0]
cdef np.ndarray[np.float32_t, ndim=1] y1 = dets[:, 1]
cdef np.ndarray[np.float32_t, ndim=1] x2 = dets[:, 2]
cdef np.ndarray[np.float32_t, ndim=1] y2 = dets[:, 3]
cdef np.ndarray[np.float32_t, ndim=1] scores = dets[:, 4]
cdef np.ndarray[np.float32_t, ndim=1] areas = (x2 - x1 + 1) * (y2 - y1 + 1)
cdef np.ndarray[np.int64_t, ndim=1] order = scores.argsort()[::-1]
cdef int ndets = dets.shape[0]
cdef np.ndarray[np.int64_t, ndim=1] suppressed = \
np.zeros((ndets), dtype=np.int64)
from 3ddfa_v2.
if you got "cl : Command line error D8021 : invalid numeric argument '/Wno-cpp'" error
modify 47 line of build.py to extra_compile_args=['std=c99'],
from 3ddfa_v2.
On windows10, please uncomment extra_compile_args={'gcc': ["-Wno-cpp", "-Wno-unused-function"]}, in FaceBoxes/utils/build.py line 46
from 3ddfa_v2.
It seems that you do not use the cython version of NMS?
from 3ddfa_v2.
I got compilation error so I uncommented this line and commented the next one
I am on Windows 10 FWIW
from 3ddfa_v2.
I have found a similar issue: eragonruan/text-detection-ctpn#380. BTW, good luck : )
from 3ddfa_v2.
I also had to do below in two places in demo_video.py
if len(boxes) == 0:
continue
from 3ddfa_v2.
I have found a similar issue: eragonruan/text-detection-ctpn#380. BTW, good luck : )
I got the idea from that post myself, my above fix worked.
from 3ddfa_v2.
If this fix works across platforms, welcome for your PR : )
from 3ddfa_v2.
if you got "cl : Command line error D8021 : invalid numeric argument '/Wno-cpp'" error
modify 47 line of build.py to extra_compile_args=['std=c99'],
cl: 命令行 warning D9024 :无法识别的源文件类型“std=c99”,假定为对象文件
cl: 命令行 warning D9027 :源文件“std=c99”被忽略
from 3ddfa_v2.
do you know how to generate the 3D render picture with color?
thanks.
@cleardusk
@JacksonL1
from 3ddfa_v2.
@chenbolinstudent
the first version of 3DDFA has implement code.
I think you can refer to that code
from 3ddfa_v2.
@JacksonL1
I want to get such 3D render picture with color. can the code do it ?
from 3ddfa_v2.
@JacksonL1
transfer .obj to png
from 3ddfa_v2.
@chenbolinstudent face3d this project will help you.
from 3ddfa_v2.
it only transfer .mat to png ?
not transfer .obj to png?
from 3ddfa_v2.
@JacksonL1
@cleardusk
I can not transfer .obj to png.
can you do it ?
from 3ddfa_v2.
@JacksonL1 @cleardusk I can not transfer .obj to png. can you do it ?
use trimesh module.
from 3ddfa_v2.
Related Issues (20)
- I am getting this error. (installed requirements and compiled succesfully)
- Annotations files used in the paper for AFLW2000-3D
- Project dependencies may have API risk issues HOT 1
- Would plz share the training code?
- Making a partial face mask using this
- Getting Normal Map from the 3D Shape or Depth Map
- Sim3DR_Cython.rasterize did not work
- Questions about 3D Aided Short-video-synthesis
- UV Map part of the image is generating black pixels
- Is there anyway to reconstruct 3d face from multiple face image(left side face, right side face and front face) by 3DDFA_V2 HOT 4
- Google Collab - ModuleNotFoundError: No module named 'onnx' / OnnxExporterError: Module onnx is not installed! HOT 2
- ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
- How did you train the backbone? HOT 1
- OBJ with texture HOT 1
- Gradiodemo.py extension: selectable outputs
- add Texture to the webcam demo
- 相机实时驱动带纹理的模型
- obtain obj & landrmark with openface
- how to use shape feature.
- Question about the implement of Meta-Joint Optimzation
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 3ddfa_v2.