Code Monkey home page Code Monkey logo

Comments (6)

solderzzc avatar solderzzc commented on June 24, 2024

It seems you are not running the latest code or containers, if you upgraded the code by switch branch or git pull, you can try delete docker containers and images then rerun the script. Let me know if it's your case.

from deepcamera.

wk1ng73 avatar wk1ng73 commented on June 24, 2024

Thanks for your quick reply. Actually I didn't upgraded the code except for adding a telegram token.
My environment:

nvidia-jetpack Version: Jetpack 4.6 [L4T 32.6.1]
CUDA Version: 10.2.300
OpenCV Version: 4.1.1 compiled CUDA: NO
TensorRT Version: 8.0.1.6
cuDNN Version: 8.2.1.32

I tried delete images and rerun the script, the problem is still here. I double-checked the log information again and found that there is an ImportError(libnvinfer.so.7) before that error.

face_detector      | [2022-04-27 00:41:17,445: ERROR/ForkPoolWorker-1] Signal handler <function setup at 0x7fa1d4fe50> raised: ImportError('libnvinfer.so.7: cannot open shared object file: No such file or directory',)
face_detector      | Traceback (most recent call last):
face_detector      |   File "/usr/local/lib/python2.7/dist-packages/celery/utils/dispatch/signal.py", line 227, in send
face_detector      |     response = receiver(signal=self, sender=sender, **named)
face_detector      |   File "worker.py", line 34, in setup
face_detector      |     import detector as m
face_detector      |   File "/root/detection/detector.py", line 11, in <module>
face_detector      |     from mtcnn import TrtMtcnn
face_detector      |   File "/root/detection/mtcnn.py", line 6, in <module>
face_detector      |     import pytrt
face_detector      | **ImportError: libnvinfer.so.7: cannot open shared object file: No such file or directory**

This may explain why 'm' is none in the subsequent steps.
libnvinfer.so.7 is also not be found in embedding docker.

embedding          | [2022-04-27 00:41:15,332: INFO/MainProcess] Connected to redis://guest@redis:6379/0
embedding          | [2022-04-27 00:41:15,357: INFO/MainProcess] mingle: searching for neighbors
embedding          | Traceback (most recent call last):
embedding          |   File "upload_api-v2.py", line 46, in <module>
embedding          |     import FaceProcessing
embedding          |   File "/data/runtime/src/FaceProcessing.py", line 15, in <module>
embedding          |     import torch
embedding          |   File "/usr/local/lib/python2.7/dist-packages/torch/__init__.py", line 81, in <module>
embedding          |     from torch._C import *
embedding          | **ImportError: libnvinfer.so.7: cannot open shared object file: No such file or directory**

To avoid that I miss anything related (like other warnings), I paste the full log information as follows:

starting...
48**********
Your Device UUID is echo 48**********
WARNING: The ADMIN_PASSWORD variable is not set. Defaulting to a blank string.
WARNING: The TIMEZONE_OFFSET variable is not set. Defaulting to a blank string.
Starting redis  ... done
Starting camera          ... done
Starting minio           ... done
Starting broker          ... done
Starting docker_flower_1 ... done
Starting face_detector   ... done
Starting embedding       ... done
Starting detector_plugin ... done
Attaching to redis, minio, camera, broker, docker_flower_1, face_detector, embedding, detector_plugin
flower_1           | [I 220427 00:41:11 command:139] Visit me at http://localhost:5555
flower_1           | [I 220427 00:41:11 command:144] Broker: redis://redis:6379/0
flower_1           | [I 220427 00:41:11 command:147] Registered tasks: 
flower_1           |     [u'celery.accumulate',
flower_1           |      u'celery.backend_cleanup',
flower_1           |      u'celery.chain',
flower_1           |      u'celery.chord',
flower_1           |      u'celery.chord_unlock',
flower_1           |      u'celery.chunks',
flower_1           |      u'celery.group',
flower_1           |      u'celery.map',
flower_1           |      u'celery.starmap']
flower_1           | [I 220427 00:41:11 mixins:229] Connected to redis://redis:6379/0
embedding          | total 4136
embedding          | drwxr-xr-x  2 root root    4096 Apr 26 03:37 cache
embedding          | -rw-rw-r--  1 1001 1001 4115182 Apr 26 03:26 model-0000.params
embedding          | -rw-rw-r--  1 1001 1001  107943 Apr 26 03:26 model-symbol.json
embedding          | drwxrwxr-x 13 1001 1001    4096 Apr 26 03:37 src
embedding          | FaceProcessing.py
embedding          | FaceProcessing.pyc
embedding          | README.md
embedding          | __init__.py
embedding          | align
embedding          | align_dataset_mtcnn.py
embedding          | build_paramter_server.sh
embedding          | calculate_filtering_metrics.py
embedding          | checkupdate
embedding          | classifier.py
embedding          | classifier_aarch64.sh
embedding          | classifier_classify.py
embedding          | classifier_classify_new.py
embedding          | classifier_classify_new.pyc
embedding          | classifier_classify_new.spec
embedding          | classifier_quan.py
embedding          | classifier_rest_client.py
embedding          | classifier_rest_server.py
embedding          | classifier_restserver_arm.sh
embedding          | classifier_worker_arm.sh
embedding          | cluster.py
embedding          | clustering_people.py
embedding          | compare.py
embedding          | compare_frozen_model.py
embedding          | conf.py
embedding          | cron.py
embedding          | data
embedding          | data_init
embedding          | decode_msceleb_dataset.py
embedding          | download_and_extract_model.py
embedding          | download_vgg_face_dataset.py
embedding          | embedding_aarch64.sh
embedding          | embedding_arm.sh
embedding          | embedding_client.py
embedding          | embedding_server.py
embedding          | export_csv.py
embedding          | facenet.py
embedding          | facenet.pyc
embedding          | facenet_train.py
embedding          | facenet_train_classifier.py
embedding          | faces
embedding          | freeze_graph.py
embedding          | image
embedding          | insightface
embedding          | judgeutil.py
embedding          | judgeutil.pyc
embedding          | lfw.py
embedding          | migrate_db.py
embedding          | migrate_db.pyc
embedding          | migrations
embedding          | models
embedding          | models.py
embedding          | objects
embedding          | pages
embedding          | param_arm.sh
embedding          | parameter_server.py
embedding          | pytorch_embedding_test.py
embedding          | qiniu_mkzip.py
embedding          | recognition.py
embedding          | recognition.pyc
embedding          | recover_db.py
embedding          | requirements.txt
embedding          | ro_serialno
embedding          | start
embedding          | start.sh
embedding          | start_android_aarch64.sh
embedding          | start_arm.sh
embedding          | start_embedding_only.sh
embedding          | test
embedding          | test.py
embedding          | test_blur.py
embedding          | test_freezed_graph.py
embedding          | test_invariance_on_lfw.py
embedding          | test_post.py
embedding          | test_two.py
embedding          | upload_api-v2.py
embedding          | upload_api.py
embedding          | upload_dlib.py
embedding          | utilslib
embedding          | validate_on_lfw.py
embedding          | validate_on_lfw_frozen_model.py
embedding          | validate_on_lfw_frozen_model_faceprocessing.py
embedding          | version.txt
embedding          | visualize.py
embedding          | total 824K
embedding          | drwxrwxr-x 13 1001 1001 4.0K Apr 26 03:37 .
embedding          | drwxr-xr-x  4 root root 4.0K Apr 27 00:21 ..
embedding          | -rw-rw-r--  1 1001 1001   18 Apr 26 03:26 .gitignore
embedding          | -rw-rw-r--  1 1001 1001 1006 Apr 26 03:26 .start
embedding          | -rw-rw-r--  1 1001 1001 3.1K Apr 26 03:26 FaceProcessing.py
embedding          | -rw-r--r--  1 root root 4.5K Apr 26 03:37 FaceProcessing.pyc
embedding          | -rw-rw-r--  1 1001 1001  813 Apr 26 03:26 README.md
embedding          | -rw-rw-r--  1 1001 1001   16 Apr 26 03:26 __init__.py
embedding          | drwxrwxr-x  2 1001 1001 4.0K Apr 26 03:26 align
embedding          | -rw-rw-r--  1 1001 1001 7.1K Apr 26 03:26 align_dataset_mtcnn.py
embedding          | -rw-rw-r--  1 1001 1001  501 Apr 26 03:26 build_paramter_server.sh
embedding          | -rw-rw-r--  1 1001 1001 6.0K Apr 26 03:26 calculate_filtering_metrics.py
embedding          | -rwxrwxr-x  1 1001 1001 2.2K Apr 26 03:26 checkupdate
embedding          | -rw-rw-r--  1 1001 1001 8.0K Apr 26 03:26 classifier.py
embedding          | -rwxrwxr-x  1 1001 1001  210 Apr 26 03:26 classifier_aarch64.sh
embedding          | -rw-rw-r--  1 1001 1001  18K Apr 26 03:26 classifier_classify.py
embedding          | -rw-rw-r--  1 1001 1001  21K Apr 26 03:26 classifier_classify_new.py
embedding          | -rw-r--r--  1 root root  12K Apr 26 03:37 classifier_classify_new.pyc
embedding          | -rw-rw-r--  1 1001 1001 1.2K Apr 26 03:26 classifier_classify_new.spec
embedding          | -rw-rw-r--  1 1001 1001 8.6K Apr 26 03:26 classifier_quan.py
embedding          | -rw-rw-r--  1 1001 1001 2.6K Apr 26 03:26 classifier_rest_client.py
embedding          | -rw-rw-r--  1 1001 1001 3.3K Apr 26 03:26 classifier_rest_server.py
embedding          | -rwxrwxr-x  1 1001 1001  491 Apr 26 03:26 classifier_restserver_arm.sh
embedding          | -rwxrwxr-x  1 1001 1001  453 Apr 26 03:26 classifier_worker_arm.sh
embedding          | -rw-rw-r--  1 1001 1001 8.4K Apr 26 03:26 cluster.py
embedding          | -rw-rw-r--  1 1001 1001  33K Apr 26 03:26 clustering_people.py
embedding          | -rw-rw-r--  1 1001 1001 5.5K Apr 26 03:26 compare.py
embedding          | -rw-rw-r--  1 1001 1001 6.8K Apr 26 03:26 compare_frozen_model.py
embedding          | -rw-rw-r--  1 1001 1001  839 Apr 26 03:26 conf.py
embedding          | -rw-rw-r--  1 1001 1001  454 Apr 26 03:26 cron.py
embedding          | drwxr-xr-x  7 root root 4.0K Apr 26 03:37 data
embedding          | -rw-rw-r--  1 1001 1001 4.0K Apr 26 03:26 data_init
embedding          | -rw-rw-r--  1 1001 1001 3.6K Apr 26 03:26 decode_msceleb_dataset.py
embedding          | -rw-rw-r--  1 1001 1001 1.7K Apr 26 03:26 download_and_extract_model.py
embedding          | -rw-rw-r--  1 1001 1001 4.9K Apr 26 03:26 download_vgg_face_dataset.py
embedding          | -rwxrwxr-x  1 1001 1001  493 Apr 26 03:26 embedding_aarch64.sh
embedding          | -rwxrwxr-x  1 1001 1001  747 Apr 26 03:26 embedding_arm.sh
embedding          | -rw-rw-r--  1 1001 1001  587 Apr 26 03:26 embedding_client.py
embedding          | -rw-rw-r--  1 1001 1001  896 Apr 26 03:26 embedding_server.py
embedding          | -rw-rw-r--  1 1001 1001 2.7K Apr 26 03:26 export_csv.py
embedding          | -rw-rw-r--  1 1001 1001  18K Apr 26 03:26 facenet.py
embedding          | -rw-r--r--  1 root root  18K Apr 26 03:37 facenet.pyc
embedding          | -rw-rw-r--  1 1001 1001  26K Apr 26 03:26 facenet_train.py
embedding          | -rw-rw-r--  1 1001 1001  24K Apr 26 03:26 facenet_train_classifier.py
embedding          | drwxrwxr-x  3 1001 1001 4.0K Apr 26 03:37 faces
embedding          | -rw-rw-r--  1 1001 1001 4.5K Apr 26 03:26 freeze_graph.py
embedding          | drwxrwxr-x  2 1001 1001 4.0K Apr 26 03:26 image
embedding          | drwxrwxr-x  2 1001 1001 4.0K Apr 26 03:26 insightface
embedding          | -rw-rw-r--  1 1001 1001 4.1K Apr 26 03:26 judgeutil.py
embedding          | -rw-r--r--  1 root root 3.7K Apr 26 03:37 judgeutil.pyc
embedding          | -rw-rw-r--  1 1001 1001 3.1K Apr 26 03:26 lfw.py
embedding          | -rwxrwxr-x  1 1001 1001 5.1K Apr 26 03:26 migrate_db.py
embedding          | -rw-r--r--  1 root root 5.7K Apr 26 03:37 migrate_db.pyc
embedding          | drwxrwxr-x  3 1001 1001 4.0K Apr 26 03:37 migrations
embedding          | drwxrwxr-x  2 1001 1001 4.0K Apr 26 03:26 models
embedding          | -rw-rw-r--  1 1001 1001 1.1K Apr 26 03:26 models.py
embedding          | drwxrwxr-x  2 1001 1001 4.0K Apr 26 03:26 objects
embedding          | drwxrwxr-x  4 1001 1001 4.0K Apr 26 03:26 pages
embedding          | -rwxrwxr-x  1 1001 1001  204 Apr 26 03:26 param_arm.sh
embedding          | -rw-rw-r--  1 1001 1001 4.0K Apr 26 03:26 parameter_server.py
embedding          | -rw-rw-r--  1 1001 1001 1.1K Apr 26 03:26 pytorch_embedding_test.py
embedding          | -rw-rw-r--  1 1001 1001 1.9K Apr 26 03:26 qiniu_mkzip.py
embedding          | -rw-rw-r--  1 1001 1001  21K Apr 26 03:26 recognition.py
embedding          | -rw-r--r--  1 root root  15K Apr 26 03:37 recognition.pyc
embedding          | -rw-rw-r--  1 1001 1001 1.2K Apr 26 03:26 recover_db.py
embedding          | -rw-rw-r--  1 1001 1001  463 Apr 26 03:26 requirements.txt
embedding          | -rw-rw-r--  1 1001 1001   13 Apr 26 03:26 ro_serialno
embedding          | -rw-rw-r--  1 1001 1001   48 Apr 26 03:26 start
embedding          | -rwxrwxr-x  1 1001 1001 2.7K Apr 26 03:26 start.sh
embedding          | -rwxrwxr-x  1 1001 1001  696 Apr 26 03:26 start_android_aarch64.sh
embedding          | -rwxrwxr-x  1 1001 1001  551 Apr 26 03:26 start_arm.sh
embedding          | -rwxrwxr-x  1 1001 1001 2.2K Apr 26 03:26 start_embedding_only.sh
embedding          | drwxrwxr-x  3 1001 1001 4.0K Apr 26 03:26 test
embedding          | -rw-rw-r--  1 1001 1001 1.5K Apr 26 03:26 test.py
embedding          | -rw-rw-r--  1 1001 1001  767 Apr 26 03:26 test_blur.py
embedding          | -rw-rw-r--  1 1001 1001 1.3K Apr 26 03:26 test_freezed_graph.py
embedding          | -rw-rw-r--  1 1001 1001  12K Apr 26 03:26 test_invariance_on_lfw.py
embedding          | -rw-rw-r--  1 1001 1001  395 Apr 26 03:26 test_post.py
embedding          | -rw-rw-r--  1 1001 1001  906 Apr 26 03:26 test_two.py
embedding          | -rwxrwxr-x  1 1001 1001  75K Apr 26 03:26 upload_api-v2.py
embedding          | -rwxrwxr-x  1 1001 1001 121K Apr 26 03:26 upload_api.py
embedding          | -rw-rw-r--  1 1001 1001  13K Apr 26 03:26 upload_dlib.py
embedding          | drwxrwxr-x  2 1001 1001 4.0K Apr 26 03:37 utilslib
embedding          | -rw-rw-r--  1 1001 1001 5.4K Apr 26 03:26 validate_on_lfw.py
embedding          | -rw-rw-r--  1 1001 1001 6.1K Apr 26 03:26 validate_on_lfw_frozen_model.py
embedding          | -rw-rw-r--  1 1001 1001 5.4K Apr 26 03:26 validate_on_lfw_frozen_model_faceprocessing.py
embedding          | -rw-rw-r--  1 1001 1001    6 Apr 26 03:26 version.txt
embedding          | -rw-rw-r--  1 1001 1001 5.0K Apr 26 03:26 visualize.py
detector_plugin    | export API_SERVER_ADDRESS='165.232.62.29'
detector_plugin    | export API_SERVER_PORT='3000'
detector_plugin    | export AWS_ACCESS_KEY='QUA2IU17RHOKE6NUZ7T2'
detector_plugin    | export AWS_BUCKET='faces'
detector_plugin    | export AWS_END_POINT='165.232.62.29'
detector_plugin    | export AWS_PORT='9000'
detector_plugin    | export AWS_READABLE_PREFIX='http://165.232.62.29:9000/faces/'
detector_plugin    | export AWS_SECRET_KEY='MQniMc5K3lsRbv9OPaUbJN9ft2eTQJ1rh4Yx6C17'
detector_plugin    | export AWS_USE_SSL='false'
detector_plugin    | export BIGGEST_FACE_ONLY_MODE='0'
detector_plugin    | export CLUSTER_CONCURRENCY='80'
detector_plugin    | export CLUSTER_REDIS_ADDRESS='redis'
detector_plugin    | export CLUSTER_REDIS_PORT='6379'
detector_plugin    | export DEEP_ANALYSIS_MODE='0'
detector_plugin    | export ENABLE_STATIC_OBJECT_FILTER='false'
detector_plugin    | export GIF_UPLOADING='1'
detector_plugin    | export HOME='/root'
detector_plugin    | export HOSTNAME='1769e88ec063'
detector_plugin    | export IMAGE_DIR='/opt/nvr/detector/images'
detector_plugin    | export LD_LIBRARY_PATH='/usr/local/cuda-10.2/targets/aarch64-linux/lib:'
detector_plugin    | export MINIMAL_FACE_RESOLUTION='60'
detector_plugin    | export MINIO_BROWSER='off'
detector_plugin    | export MQTT_BROKER_ADDRESS='165.232.62.29'
detector_plugin    | export MQTT_BROKER_PORT='1883'
detector_plugin    | export MQTT_BROKER_TRANSPORT='tcp'
detector_plugin    | export NVIDIA_DRIVER_CAPABILITIES='compute,utility,video'
detector_plugin    | export NVIDIA_VISIBLE_DEVICES='all'
detector_plugin    | export ONE_KNOWN_PERSON_BYPASS_QUEUE_MODE='1'
detector_plugin    | export PATH='/usr/local/cuda-10.2/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
detector_plugin    | export PWD='/opt/nvr'
detector_plugin    | export REALTIME_STRANGER_SDK_MESSAGE='1'
detector_plugin    | export RESTRICT_RECOGNITON_MODE='0'
detector_plugin    | export SAMPLING_TO_SAVE_ENERGY_MODE='1'
detector_plugin    | export TELEGRAM_BOT_TOKEN='5258423136:AAEdDGNXCa7ESNDPbhcW4vcICPap1OuTZo8'
detector_plugin    | export TIMEZONE_OFFSET=''
detector_plugin    | export UPLOAD_IMAGE_SERVICE_ENABLED='1'
embedding          |  * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
embedding          |  * Restarting with stat
embedding          |  * Debugger is active!
embedding          |  * Debugger PIN: 120-260-206
embedding          | INFO  [alembic.runtime.migration] Context impl SQLiteImpl.
embedding          | INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
face_detector      | warming up
face_detector      | {"result":[{ "score" :0.999865,   "bbox"  : [144,57,186,99],   "landmark":[         [156,71] ,        [171,72] ,        [162,80] ,        [156,89] ,        [168,89]   ]},{ "score" :0.999165,   "bbox"  : [42,150,87,195],   "landmark":[         [53,165] ,        [71,166] ,        [58,179] ,        [54,186] ,        [68,187]   ]},{ "score" :0.999756,   "bbox"  : [575,44,626,95],   "landmark":[         [591,63] ,        [611,63] ,        [600,73] ,        [593,84] ,        [608,84]   ]},{ "score" :0.996146,   "bbox"  : [166,136,219,188],   "landmark":[         [181,159] ,        [202,159] ,        [192,173] ,        [182,179] ,        [202,178]   ]},{ "score" :0.999973,   "bbox"  : [762,172,838,247],   "landmark":[         [803,202] ,        [823,204] ,        [816,219] ,        [800,231] ,        [815,231]   ]},{ "score" :0.999855,   "bbox"  : [781,338,852,414],   "landmark":[         [825,370] ,        [842,368] ,        [843,382] ,        [829,399] ,        [842,397]   ]},{ "score" :0.99267,   "bbox"  : [34,359,108,433],   "landmark":[         [57,385] ,        [74,390] ,        [51,397] ,        [48,413] ,        [60,418]   ]}]}
face_detector      | step 0 duration is 0.164233922958
face_detector      | step 1 duration is 0.157299995422
face_detector      | step 2 duration is 0.168704986572
face_detector      | step 3 duration is 0.200134992599
face_detector      | step 4 duration is 0.180177927017
face_detector      | step 5 duration is 0.17335486412
face_detector      | step 6 duration is 0.168270111084
face_detector      | step 7 duration is 0.151214122772
face_detector      | step 8 duration is 0.16509103775
face_detector      | step 9 duration is 0.165503978729
face_detector      | {"result":[{ "score" :0.999865,   "bbox"  : [144,57,186,99],   "landmark":[         [156,71] ,        [171,72] ,        [162,80] ,        [156,89] ,        [168,89]   ]},{ "score" :0.999165,   "bbox"  : [42,150,87,195],   "landmark":[         [53,165] ,        [71,166] ,        [58,179] ,        [54,186] ,        [68,187]   ]},{ "score" :0.999756,   "bbox"  : [575,44,626,95],   "landmark":[         [591,63] ,        [611,63] ,        [600,73] ,        [593,84] ,        [608,84]   ]},{ "score" :0.996146,   "bbox"  : [166,136,219,188],   "landmark":[         [181,159] ,        [202,159] ,        [192,173] ,        [182,179] ,        [202,178]   ]},{ "score" :0.999973,   "bbox"  : [762,172,838,247],   "landmark":[         [803,202] ,        [823,204] ,        [816,219] ,        [800,231] ,        [815,231]   ]},{ "score" :0.999855,   "bbox"  : [781,338,852,414],   "landmark":[         [825,370] ,        [842,368] ,        [843,382] ,        [829,399] ,        [842,397]   ]},{ "score" :0.99267,   "bbox"  : [34,359,108,433],   "landmark":[         [57,385] ,        [74,390] ,        [51,397] ,        [48,413] ,        [60,418]   ]}]}
face_detector      | 480p average duration is 0.169438290596
redis              |                 _._                                                  
redis              |            _.-``__ ''-._                                             
redis              |       _.-``    `.  `_.  ''-._           Redis 3.2.11 (00000000/0) 64 bit
redis              |   .-`` .-```.  ```\/    _.,_ ''-._                                   
redis              |  (    '      ,       .-`  | `,    )     Running in standalone mode
redis              |  |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
redis              |  |    `-._   `._    /     _.-'    |     PID: 10
redis              |   `-._    `-._  `-./  _.-'    _.-'                                   
redis              |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
redis              |  |    `-._`-._        _.-'_.-'    |           http://redis.io        
redis              |   `-._    `-._`-.__.-'_.-'    _.-'                                   
redis              |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
redis              |  |    `-._`-._        _.-'_.-'    |                                  
redis              |   `-._    `-._`-.__.-'_.-'    _.-'                                   
redis              |       `-._    `-.__.-'    _.-'                                       
redis              |           `-._        _.-'                                           
redis              |               `-.__.-'                                               
redis              | 
redis              | 10:M 27 Apr 00:41:09.156 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
redis              | 10:M 27 Apr 00:41:09.156 # Server started, Redis version 3.2.11
**redis              | 10:M 27 Apr 00:41:09.157 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.**
redis              | 10:M 27 Apr 00:41:09.157 * The server is now ready to accept connections on port 6379
minio              | 
minio              |  You are running an older version of MinIO released 1 year ago 
minio              |  Update: Run `mc admin update` 
minio              | 
minio              | 
minio              | Endpoint:  http://172.18.0.3:9000  http://127.0.0.1:9000
minio              | 
minio              | Browser Access:
minio              |    http://172.18.0.3:9000  http://127.0.0.1:9000
minio              | 
minio              | Object API (Amazon S3 compatible):
minio              |    Go:         https://docs.min.io/docs/golang-client-quickstart-guide
minio              |    Java:       https://docs.min.io/docs/java-client-quickstart-guide
minio              |    Python:     https://docs.min.io/docs/python-client-quickstart-guide
minio              |    JavaScript: https://docs.min.io/docs/javascript-client-quickstart-guide
minio              |    .NET:       https://docs.min.io/docs/dotnet-client-quickstart-guide
**flower_1           | [W 220427 00:41:14 control:44] 'stats' inspect method failed
flower_1           | [W 220427 00:41:14 control:44] 'active_queues' inspect method failed
flower_1           | [W 220427 00:41:14 control:44] 'registered' inspect method failed
flower_1           | [W 220427 00:41:14 control:44] 'scheduled' inspect method failed
flower_1           | [W 220427 00:41:14 control:44] 'active' inspect method failed
flower_1           | [W 220427 00:41:14 control:44] 'reserved' inspect method failed
flower_1           | [W 220427 00:41:14 control:44] 'revoked' inspect method failed**
embedding          | 127.0.0.1 - - [27/Apr/2022 00:41:14] "GET /api/parameters HTTP/1.1" 200 -
**flower_1           | [W 220427 00:41:14 control:44] 'conf' inspect method failed**
embedding          |  * Running on http://0.0.0.0:5050/ (Press CTRL+C to quit)
embedding          | 127.0.0.1 - - [27/Apr/2022 00:41:14] "GET /api/parameters HTTP/1.1" 200 -
camera             | Shinobi : cron.js started
camera             | { Error: SQLITE_ERROR: near "10": syntax error errno: 1, code: 'SQLITE_ERROR' }
camera             | { Error: SQLITE_ERROR: near "10": syntax error errno: 1, code: 'SQLITE_ERROR' }
embedding          | /usr/local/lib/python2.7/dist-packages/celery/platforms.py:796: RuntimeWarning: You're running the worker with superuser privileges: this is
embedding          | absolutely not recommended!
embedding          | 
embedding          | Please specify a different user using the --uid option.
embedding          | 
embedding          | User information: uid=0 euid=0 gid=0 egid=0
embedding          | 
embedding          |   uid=uid, euid=euid, gid=gid, egid=egid,
embedding          | [2022-04-27 00:41:15,332: INFO/MainProcess] Connected to redis://guest@redis:6379/0
embedding          | [2022-04-27 00:41:15,357: INFO/MainProcess] mingle: searching for neighbors
**embedding          | Traceback (most recent call last):
embedding          |   File "upload_api-v2.py", line 46, in <module>
embedding          |     import FaceProcessing
embedding          |   File "/data/runtime/src/FaceProcessing.py", line 15, in <module>
embedding          |     import torch
embedding          |   File "/usr/local/lib/python2.7/dist-packages/torch/__init__.py", line 81, in <module>
embedding          |     from torch._C import *
embedding          | ImportError: libnvinfer.so.7: cannot open shared object file: No such file or directory**
camera             | NODE.JS version : v8.17.0
camera             | 
camera             | FFMPEG version : 4.2.1-static https://johnvansickle.com/ffmpeg/
camera             | Shinobi - PORT : 8080
embedding          | [2022-04-27 00:41:16,406: INFO/MainProcess] mingle: all alone
embedding          | [2022-04-27 00:41:16,434: INFO/MainProcess] celery@classify ready.
face_detector      | /usr/local/lib/python2.7/dist-packages/celery/platforms.py:795: RuntimeWarning: You're running the worker with superuser privileges: this is
face_detector      | absolutely not recommended!
face_detector      | 
face_detector      | Please specify a different user using the -u option.
face_detector      | 
face_detector      | User information: uid=0 euid=0 gid=0 egid=0
face_detector      | 
face_detector      |   uid=uid, euid=euid, gid=gid, egid=egid,
face_detector      | [2022-04-27 00:41:16,840: INFO/MainProcess] Connected to redis://guest@redis:6379/0
face_detector      | [2022-04-27 00:41:16,866: INFO/MainProcess] mingle: searching for neighbors
embedding          | [2022-04-27 00:41:16,900: INFO/MainProcess] sync with celery@detect
**face_detector      | [2022-04-27 00:41:17,445: ERROR/ForkPoolWorker-1] Signal handler <function setup at 0x7fa1d4fe50> raised: ImportError('libnvinfer.so.7: cannot open shared object file: No such file or directory',)
face_detector      | Traceback (most recent call last):
face_detector      |   File "/usr/local/lib/python2.7/dist-packages/celery/utils/dispatch/signal.py", line 227, in send
face_detector      |     response = receiver(signal=self, sender=sender, **named)
face_detector      |   File "worker.py", line 34, in setup
face_detector      |     import detector as m
face_detector      |   File "/root/detection/detector.py", line 11, in <module>
face_detector      |     from mtcnn import TrtMtcnn
face_detector      |   File "/root/detection/mtcnn.py", line 6, in <module>
face_detector      |     import pytrt
face_detector      | ImportError: libnvinfer.so.7: cannot open shared object file: No such file or directory**
camera             | 2022-04-27T00:41:17+00:00 [email protected] : size check for videos : 0  
camera             | 2022-04-27T00:41:17+00:00 [email protected] : end of size check for videos 1/1 
camera             | 2022-04-27T00:41:17+00:00 all users checked, wait to close open files and remove files over user limit  
camera             | 2022-04-27T00:41:17+00:00 waiting to give unfinished video check some time. 3 seconds.  
face_detector      | [2022-04-27 00:41:17,913: INFO/MainProcess] mingle: sync with 1 nodes
face_detector      | [2022-04-27 00:41:17,915: INFO/MainProcess] mingle: sync complete
face_detector      | [2022-04-27 00:41:17,945: INFO/MainProcess] celery@detect ready.
camera             | 2022-04-27T00:41:20+00:00 starting all monitors set to watch and record  
camera             | 2022-04-27T00:41:20+00:00 Shinobi is ready.  
**detector_plugin    | npm WARN saveError EBUSY: resource busy or locked, rename '/opt/nvr/detector/package.json.2668428890' -> '/opt/nvr/detector/package.json'
detector_plugin    | npm WARN [email protected] requires a peer of enhanced-resolve@^3.1.0 but none is installed. You must install peer dependencies yourself.
detector_plugin    | npm WARN [email protected] No license field.
detector_plugin    | npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
detector_plugin    | npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
detector_plugin    | npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/watchpack-chokidar2/node_modules/fsevents):
detector_plugin    | npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})**
detector_plugin    | 
detector_plugin    | audited 1015 packages in 15.794s
detector_plugin    | 
detector_plugin    | 50 packages are looking for funding
detector_plugin    |   run `npm fund` for details
detector_plugin    | 
detector_plugin    | found 30 vulnerabilities (2 low, 6 moderate, 14 high, 8 critical)
detector_plugin    |   run `npm audit fix` to fix them, or `npm audit` for details
detector_plugin    | Wed, 27 Apr 2022 00:41:35 GMT node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.
detector_plugin    | In the future, you will have to enable it yourself.
detector_plugin    | See https://github.com/yagop/node-telegram-bot-api/issues/319. at module.js:653:30
detector_plugin    | init nedb global
detector_plugin    | init nedb global for gif
detector_plugin    | init nedb global for timeline
detector_plugin    | upload listerer is ready
detector_plugin    | wait detect queue init 
detector_plugin    | telegram token is 5258423136:AAEdDGNXCa7ESNDPbhcW4vcICPap1OuTZo8
detector_plugin    | Listening on port  3000
detector_plugin    | select database 15 to avoid conflict
detector_plugin    | The connection to celery cluster is connected
detector_plugin    | The connection to celery broker is connected
detector_plugin    | Bucket exists.
camera             | 2022-04-27T00:41:36+00:00 pluginInitiatorSuccess { f: 'init',
camera             |   plug: 'WorkAI',
camera             |   notice: 'Looks like you have the Motion plugin running. Don\'t forget to enable <b>Send Frames</b> to start pushing frames to be read.',
camera             |   type: 'detector',
camera             |   pluginKey: 'asdfasdfasdf12341234ad79fgsx' } 
camera             | 2022-04-27T00:41:36+00:00 Connected to plugin : Detector - WorkAI - detector  
detector_plugin    | API Key from server is WorkAI
detector_plugin    | init_monitor
detector_plugin    | init_monitor

from deepcamera.

wk1ng73 avatar wk1ng73 commented on June 24, 2024

I searched for some solutions. Some says that it's because TensorRT in my system is not compatible with the app. Do you have any restrictions about TensorRT Version in this app?

from deepcamera.

solderzzc avatar solderzzc commented on June 24, 2024

from deepcamera.

wk1ng73 avatar wk1ng73 commented on June 24, 2024

Oh, it seems you need install jetpack 4.5.1 which has tensorrt 7

On Tue, Apr 26, 2022 at 7:49 PM Kun WANG @.> wrote: I searched for some solutions. Some says that it's because TensorRT in my system is not compatible with the app. Do you have any restrictions about TensorRT Version in this app? — Reply to this email directly, view it on GitHub <#71 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXRJ7A74WVZ3G3TWV4A3EDVHCTNHANCNFSM5ULRPGUQ . You are receiving this because you commented.Message ID: @.>

Oh no. I think that's the problem... And unfortunately there isn't a safe and direct way to downgrade the Jetpack I think :'( ?
Many thanks for your always quick reply. Have a good day!

from deepcamera.

solderzzc avatar solderzzc commented on June 24, 2024

from deepcamera.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.