Comments (4)
could you please also include logs from /logs/face_recognition.log
you can get them by running docker exec backend cat /logs/face_recognition.log
from librephotos.
I get this output
~$ docker exec librephotos-backend-1 cat /logs/face_recognition.log
face_recognition: service starting
face_recognition: created face_location=[]
127.0.0.1 - - [2023-11-09 17:52:19] "POST /face-locations HTTP/1.1" 201 135 0.769288
face_recognition: created face_location=[]
127.0.0.1 - - [2023-11-09 17:52:20] "POST /face-locations HTTP/1.1" 201 135 0.315403
face_recognition: created face_location=[(546, 614, 700, 459)]
127.0.0.1 - - [2023-11-09 17:52:21] "POST /face-locations HTTP/1.1" 201 152 0.726863
Fatal Python error: Illegal instruction
Current thread 0x00007fa83b20a040 (most recent call first):
File "/usr/local/lib/python3.11/dist-packages/face_recognition/api.py", line 165 in <listcomp>
File "/usr/local/lib/python3.11/dist-packages/face_recognition/api.py", line 165 in _raw_face_landmarks
File "/usr/local/lib/python3.11/dist-packages/face_recognition/api.py", line 213 in face_encodings
File "/code/service/face_recognition/main.py", line 25 in create_face_encodings
File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1469 in dispatch_request
File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1484 in full_dispatch_request
File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 2190 in wsgi_app
File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 2213 in __call__
File "/usr/local/lib/python3.11/dist-packages/gevent/pywsgi.py", line 1053 in run_application
File "/usr/local/lib/python3.11/dist-packages/gevent/pywsgi.py", line 1107 in handle_one_response
File "/usr/local/lib/python3.11/dist-packages/gevent/pywsgi.py", line 804 in handle_one_request
File "/usr/local/lib/python3.11/dist-packages/gevent/pywsgi.py", line 574 in handle
File "/usr/local/lib/python3.11/dist-packages/gevent/pywsgi.py", line 1700 in handle
File "/usr/local/lib/python3.11/dist-packages/gevent/baseserver.py", line 34 in _handle_and_close_when_done
Extension modules: greenlet._greenlet, zope.interface._zope_interface_coptimizations, gevent.libev.corecext, gevent._gevent_c_greenlet_primitives, gevent._gevent_c_hub_local, gevent._gevent_c_waiter, gevent._gevent_c_hub_primitives, gevent._gevent_c_ident, gevent._gevent_cgreenlet, markupsafe._speedups, gevent._gevent_c_abstract_linkable, gevent._gevent_cevent, PIL._imaging, numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, gevent._gevent_c_semaphore, gevent._gevent_cqueue, gevent._gevent_c_imap, PIL._webp (total: 30)
from librephotos.
https://docs.librephotos.com/docs/user-guide/faq
Looks like your proxmox instance surpresses some instructions sets.
from librephotos.
That was my problem, thank you! I changed CPU type to 'host' and reboot and now face recognition works.
I do still get this error as above, which I'll leave here in case it's useful. But otherwise my issue with the face recognition seems to be resolved. Thanks!
librephotos-backend-1 | 19:50:08 [Q] ERROR Failed 'api.directory_watcher.scan_faces' (winter-nevada-oscar-fillet) - 'list' object has no attribute 'len' : Traceback (most recent call last):
librephotos-backend-1 | File "/usr/local/lib/python3.11/dist-packages/django_q/worker.py", line 97, in worker
librephotos-backend-1 | res = f(*task["args"], **task["kwargs"])
librephotos-backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
librephotos-backend-1 | File "/code/api/directory_watcher.py", line 463, in scan_faces
librephotos-backend-1 | return {"new_face_count": all.len(), "status": lrj.failed is False}
librephotos-backend-1 | ^^^^^^^
librephotos-backend-1 | AttributeError: 'list' object has no attribute 'len'
librephotos-backend-1 |
librephotos-backend-1 | face_recognition: created face_location=[]
from librephotos.
Related Issues (20)
- feeback on new caption model: screen refresh needed HOT 1
- feeback on new caption model: LP looks tu be frozen for some time HOT 1
- Can't Label faces HOT 1
- caption: a way to correct / erase incorrect caption looks missing
- Backend don't start due to python3 core dumped HOT 10
- HEIC image files are not scanned for faces if the exif contains faces in the region list HOT 14
- Photo Re-scan (aka Quick Scan) HOT 1
- Geotag in the video file HOT 3
- HEIC selfie images face recondition positions are off HOT 3
- Move images to trash does bot cause a page refresh HOT 1
- Slideshow from album on a digital picture frame HOT 7
- [meta] invalidate cache after action
- Ability to select individual photo for face scan HOT 2
- Post action to share a single photo use val_shared while class SetPhotosShared awaiting a shared POST parameter HOT 1
- can not download models
- When the face recognition service dies, only a backend restart brings it back
- Faces: "hover" the name bar of the current person when scrolling on the
- Faces: Create option to Tag and filter faces -i.e. "Family" "Work" etc
- Picture details allows to edit a person tag or untag, but not to delete the face
- Faces Dashboard: Slow reponses when tagging faces HOT 3
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 librephotos.