taufeeque9 / humanfalldetection Goto Github PK
View Code? Open in Web Editor NEWReal-time, Multi-person & Multi-camera Fall Detector in Python
Real-time, Multi-person & Multi-camera Fall Detector in Python
This problem cannot be resolved while running the program
I downloaded everything but the program failed. I use Apple MacBook Air M1.
This is the report, can you help me make the program work, really need it:
Starting...
Downloading: "http://github.com/openpifpaf/torchhub/releases/download/v0.13/shufflenetv2k16-210820-232500-cocokp-slurm726069-edge513-o10s-7189450a.pkl" to /Users/andyye/.cache/torch/hub/checkpoints/shufflenetv2k16-210820-232500-cocokp-slurm726069-edge513-o10s-7189450a.pkl
Process Process-1:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1348, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1282, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1328, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1277, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1037, in _send_output
self.send(msg)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 975, in send
self.connect()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1454, in connect
self.sock = self._context.wrap_socket(self.sock,
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 513, in wrap_socket
return self.sslsocket_class._create(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 1071, in _create
self.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 1342, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/andyye/Desktop/HumanFallDetection-master/algorithms.py", line 63, in extract_keypoints_parallel
processor_singleton = Processor(width_height, args)
File "/Users/andyye/Desktop/HumanFallDetection-master/vis/processor.py", line 16, in init
self.model_cpu, _ = openpifpaf.network.Factory().factory()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/openpifpaf/network/factory.py", line 191, in factory
net_cpu, epoch = self.from_checkpoint()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/openpifpaf/network/factory.py", line 255, in from_checkpoint
checkpoint = torch.hub.load_state_dict_from_url(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/torch/hub.py", line 731, in load_state_dict_from_url
download_url_to_file(url, cached_file, hash_prefix, progress=progress)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/torch/hub.py", line 597, in download_url_to_file
u = urlopen(req)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 525, in open
response = meth(req, response)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 634, in http_response
response = self.parent.error(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 557, in error
result = self._call_chain(*args)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 496, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 749, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 519, in open
response = self._open(req, data)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 536, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 496, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1391, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1351, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>
Exiting...
如何测试别的数据集并且获得一个直观的准确度,第一次用希望可以帮助一下xiexie
Hi,
I have some questions about this repo:
Thanks for sharing this wonderful repo!
C:\Users\Levi Ackerman\working_directory\elderTech\HumanFallDetection>python fall_detector.py --video "C:\Users\Levi Ackerman\working_directory\elderTech\videos\fall_vid.MOV" --save_output
Starting...
src\openpifpaf\csrc\src\cif_hr.cpp:102: UserInfo: resizing cifhr buffer
src\openpifpaf\csrc\src\occupancy.cpp:53: UserInfo: resizing occupancy buffer
[ERROR:[email protected]] global cap.cpp:597 cv::VideoWriter::open VIDEOIO(CV_IMAGES): raised OpenCV exception:
OpenCV(4.7.0) D:\a\opencv-python\opencv-python\opencv\modules\videoio\src\cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): outC:\Users\Levi Ackerman\working_directory\elderTech\videos\fall_vid.avi in function 'cv::icvExtractPattern'
no more images captured
C:\Users\Levi Ackerman\working_directory\elderTech\videos\fall_vid.MOV 1679668443.7428458
Exiting...
ERROR: Cannot install -r requirements.txt (line 20) and urllib3==1.26.5 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested urllib3==1.26.5
requests 2.24.0 depends on urllib3!=1.25.0, !=1.25.1, <1.26 and >=1.21.1
To fix this you could try to:
Hi
I ran the program and got no error, but nothing returns,
this is logs
python fall_detector.py --video=/Users/xuyao/Workspaces/ai/HumanFallDetection/video/1665573678425490.mp4
Starting...
src/openpifpaf/csrc/src/cif_hr.cpp:102: UserInfo: resizing cifhr buffer
src/openpifpaf/csrc/src/occupancy.cpp:53: UserInfo: resizing occupancy buffer
Exiting...
Hey, thanks for sharing a good repository. Can please share the LSTM model weights? I want to use weights for transfer learning. Thanks!
I get this error
exit code: 1
╰─> [4 lines of output]
Collecting setuptools
Using cached setuptools-67.7.2-py3-none-any.whl (1.1 MB)
ERROR: Could not find a version that satisfies the requirement torch==1.13.1 (from versions: 2.0.0, 2.0.1)
ERROR: No matching distribution found for torch==1.13.1
[end of output]
Hello, can you give me the training python script and the training dataset files? I am glad to if you could? Thank you very much!
I ran the program on a MacBook m2 chip, the FPS is around 1 and 2. What is the cause behind this? Thanks
Hey, thanks for sharing a good repository. Can please share the LSTM 2sec_multi_train_data.csv? Thanks!
i got problem to install requirements.txt that show "No matching distribution found for Pillow==7.1.1"
i want to save a file with when people fall down or fall warning to run some data analysis
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.