Comments (9)
weight files are stored in git lfs, so you must download them to run:
sudo apt-get install git-lfs
git lfs install
git lfs pull
from arcface-multiplex-recognition.
@1996scarlet and @MyraBaba did you solve this error? Because I am also getting this error
Exception in thread Thread-2:
Traceback (most recent call last):
File "/media/mustafa/ubuntu_backup/anaconda3/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/media/mustafa/ubuntu_backup/anaconda3/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "usb_camera.py", line 139, in <lambda>
Process(target=lambda: asyncio.run(detection_loop(preload))).start()
File "/media/mustafa/ubuntu_backup/anaconda3/lib/python3.7/asyncio/runners.py", line 43, in run
return loop.run_until_complete(main)
File "/media/mustafa/ubuntu_backup/anaconda3/lib/python3.7/asyncio/base_events.py", line 573, in run_until_complete
return future.result()
File "usb_camera.py", line 67, in detection_loop
detector = face_detector.DetectorModel(preload)
File "/media/mustafa/ubuntu_backup/Projects/mustafa_face_dl/ArcFace-Multiplex-Recognition/face_detector.py", line 14, in __init__
self.detector = RetinaFace(args.retina_model, 0, args.gpu, 'net3')
File "/media/mustafa/ubuntu_backup/Projects/mustafa_face_dl/ArcFace-Multiplex-Recognition/retinaface.py", line 84, in __init__
sym, arg_params, aux_params = mx.model.load_checkpoint(prefix, epoch)
File "/home/mustafa/.local/lib/python3.7/site-packages/mxnet/model.py", line 438, in load_checkpoint
save_dict = nd.load('%s-%04d.params' % (prefix, epoch))
File "/home/mustafa/.local/lib/python3.7/site-packages/mxnet/ndarray/utils.py", line 175, in load
ctypes.byref(names)))
File "/home/mustafa/.local/lib/python3.7/site-packages/mxnet/base.py", line 252, in check_call
raise MXNetError(py_str(_LIB.MXGetLastError()))
mxnet.base.MXNetError: [20:50:08] src/ndarray/ndarray.cc:1803: Check failed: header == kMXAPINDArrayListMagic Invalid NDArray file format
from arcface-multiplex-recognition.
@1996scarlet and @MyraBaba
I have the same issue..Do you use mxcu101? Any idea to fix this?
from arcface-multiplex-recognition.
So could you please tell me which version of cuda
and mxnet
are you using?
Another method worth trying is to use this file to test a single image of the ArcFace model.
https://github.com/deepinsight/insightface/blob/master/deploy/test.py
from arcface-multiplex-recognition.
I have cuda 9.0 and cuda 10.1 but default is 10.1 mxnet-cu101 even tried with mxnet-cu90. I tried the insightface it's working
from arcface-multiplex-recognition.
I have tried cuda8.0 and mxnet-cu80, the same error.
from arcface-multiplex-recognition.
Download the model again from InsightFace repo. The link is given in the RetinaFace readme.md
I used your model in the RetinaFace code this problem came. But when i redownloaded the model from their repo. the problem vanished. Not sure what is the problem but my naive guess would be corruption of json file.
from arcface-multiplex-recognition.
请问你们的MXNet的是哪个版本?
from arcface-multiplex-recognition.
Hi guys,
I got this error in Linux Mint
mxnet.base.MXNetError: [13:46:01] src/ndarray/ndarray.cc:1112: Check failed: header == kMXAPINDArrayListMagic Invalid NDArray file format
I solved it by doing what @hoanganh928 did above:
sudo apt-get install git-lfs
git lfs install
git lfs pull
from arcface-multiplex-recognition.
Related Issues (20)
- Ask about IDE HOT 1
- Build R-CNN for Retina Face HOT 1
- Run python3 usb_camera.py -c 0 HOT 1
- Python version
- cv2.error: OpenCV(3.4.8) /io/opencv/modules/imgproc/src/resize.cpp:3720: error: (-215:Assertion failed) !ssize.empty() in function 'resize' HOT 4
- python3 usb_camera.py -c 0报错
- MLP or distance? HOT 1
- requirement file
- Electron Node-JS Client Camera Not Detected
- Requirements and English help HOT 3
- error with usb_camera.py
- Error usb_camera.py in socketio connection HOT 1
- ModuleNotFoundError: No module named 'IPCamera' HOT 1
- 课程设计 HOT 1
- On npm install error HOT 1
- Exception in thread Thread-2: HOT 4
- about the error recognition HOT 3
- edit bounding boxes color, name etc HOT 1
- cuda version and mxnet version 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 arcface-multiplex-recognition.