Comments (1)
shashidharpatil123, you can do two things to resolve this.
First:
Go to your Python installation folder and copy the Python exe file and rename it as Python3. Then, you need to download C compiler and add the gcc command to your PATH variable.
Second:
You can replace the code in nms_wrapper.py with the following:
from .nms.py_cpu_nms import py_cpu_nms
def nms(dets, thresh):
"""Dispatch to either CPU or GPU NMS implementations."""
if dets.shape[0] == 0:
return []
return py_cpu_nms(dets, thresh)
I'd recommend following step 2 since you don't need to build your sh file.
from realtime-face-anti-spoofing.
Related Issues (20)
- Meaning of output_tensor[0] HOT 1
- Runtime error found no NVIDIA driver on your system HOT 2
- Missing focal_loss package HOT 1
- Using RBG or BGR? HOT 1
- Model HOT 1
- TypeError: 'NoneType' object is not subscriptable HOT 1
- input shape of anti_spoofing.h5 HOT 1
- Can this run on CPU-only computer? HOT 1
- Access to the model HOT 1
- Missing utility.video_utils HOT 2
- Can you share the anti spoofing model
- In main.py file throwing an error "No module named Utility" HOT 8
- Could you please release the code of model structure and how to train HOT 5
- No file named utility
- How to run it on windows HOT 3
- Can you give me train script ? HOT 2
- There is no updated model HOT 2
- Train model HOT 1
- onnx model? HOT 1
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 realtime-face-anti-spoofing.