-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python3 usb_camera.py -c 0报错 #15
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[0]
Exception in thread Thread-1:
Traceback (most recent call last):
File "/home/fire/anaconda3/envs/recognition/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/home/fire/anaconda3/envs/recognition/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "usb_camera.py", line 138, in
Process(target=lambda: asyncio.run(embedding_loop(preload))).start()
File "/home/fire/anaconda3/envs/recognition/lib/python3.7/asyncio/runners.py", line 43, in run
return loop.run_until_complete(main)
File "/home/fire/anaconda3/envs/recognition/lib/python3.7/asyncio/base_events.py", line 568, in run_until_complete
return future.result()
File "usb_camera.py", line 57, in embedding_loop
embedding = face_embedding.EmbeddingModel(preload)
File "/home/fire/Desktop/experiment/ArcFace-Multiplex-Recognition-master/face_embedding.py", line 39, in init
self.model = get_model(ctx, image_size, args.arcface_model, 'fc1')
File "/home/fire/Desktop/experiment/ArcFace-Multiplex-Recognition-master/face_embedding.py", line 19, in get_model
assert len(_vec) == 2
AssertionError
Exception in thread Thread-3:
Traceback (most recent call last):
File "/home/fire/anaconda3/envs/recognition/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/home/fire/anaconda3/envs/recognition/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "usb_camera.py", line 140, in
Process(target=lambda: asyncio.run(upload_loop())).start()
File "/home/fire/anaconda3/envs/recognition/lib/python3.7/asyncio/runners.py", line 43, in run
return loop.run_until_complete(main)
File "/home/fire/anaconda3/envs/recognition/lib/python3.7/asyncio/base_events.py", line 568, in run_until_complete
return future.result()
File "usb_camera.py", line 17, in upload_loop
sio = socketio.AsyncClient()
File "/home/fire/anaconda3/envs/recognition/lib/python3.7/site-packages/socketio/client.py", line 97, in init
self.eio = self._engineio_client_class()(**engineio_options)
File "/home/fire/anaconda3/envs/recognition/lib/python3.7/site-packages/engineio/client.py", line 82, in init
signal_handler)
File "/home/fire/anaconda3/envs/recognition/lib/python3.7/signal.py", line 47, in signal
handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler))
ValueError: signal only works in main thread
[14:56:07] src/nnvm/legacy_json_util.cc:209: Loading symbol saved by previous version v1.4.1. Attempting to upgrade...
[14:56:07] src/nnvm/legacy_json_util.cc:217: Symbol successfully upgraded!
[14:56:08] src/operator/nn/./cudnn/./cudnn_algoreg-inl.h:97: Running performance tests to find the best convolution algorithm, this can take a while... (set the environment variable MXNET_CUDNN_AUTOTUNE_DEFAULT to 0 to disable)
Detection cost: 7.369254212000669
然后一直卡在这
The text was updated successfully, but these errors were encountered: