Comments (4)
Give code to reproduce the error
from dsfd-pytorch-inference.
def read_image(img_path):
img = cv2.imread(img_path)
img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
return img
detector = face_detection.build_detector("DSFDDetector", confidence_threshold=.5, nms_iou_threshold=.3)
image_paths = ['img1.jpg', 'img2.png', ...] # list of image paths
predictions = detector.detect(read_image(str(image_paths[0])))
predictions = detector.detect(read_image(str(image_paths[1])))
predictions = detector.detect(read_image(str(image_paths[2])))
My RAM keeps on increasing as I do inference for more and more images. RAM is not getting freed.
from dsfd-pytorch-inference.
Hi, I don't have access to a GPU currently as I'm on vacation. Will be able to inspect the issue when I'm back.
If anyone finds the issue, please submit a pull request and I should be able to review it.
from dsfd-pytorch-inference.
I also have this issue. On GPU it works fine, CPU inference loads the memory
from dsfd-pytorch-inference.
Related Issues (20)
- How to control device HOT 1
- Problem with importing face_detection.build_detector HOT 3
- Validation accuracy HOT 1
- TRT inference error HOT 3
- DSFD stopping without error HOT 3
- Broken DSFD checkpoint URL HOT 3
- Receiving HTTP 308 error while creating detector HOT 1
- Run on CPU HOT 2
- Returning the face landmarks? HOT 2
- Model consumes GPU-0 even if I specify other gpus HOT 2
- Inference Speed Results HOT 2
- How can I use my own model that I trained for recognizing people's age HOT 1
- Zeros in confidence score HOT 1
- Save and load Pytorch models from another directory HOT 1
- Install with Pip not working anymore HOT 1
- RuntimeWarning: overflow encountered in scalar multiply HOT 1
- 1. Thank you! 2. little documentation improvement
- checkpoint file is gone from url
- urllib.error.HTTPError: HTTP Error 410: Gone
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 dsfd-pytorch-inference.