Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/detector/start_detector.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ export DEVICE_GROUP_ID_FILEPATH=/data/data/com.termux/files/home/.groupid.txt

while [ 1 ]
do
ONE_KNOWN_PERSON_BYPASS_QUEUE_MODE=0 DEEP_ANALYSIS_MODE=1 SAMPLING_TO_SAVE_ENERGY_MODE=0 RESTRICT_RECOGNITON_MODE=0 MINIMAL_FACE_RESOLUTION=100 BIGGEST_FACE_ONLY_MODE=0 UPLOAD_IMAGE_SERVICE_ENABLED=1 GIF_UPLOADING=1 REALTIME_STRANGER_SDK_MESSAGE=1 ENABLE_STATIC_OBJECT_FILTER=true CLUSTER_REDIS_ADDRESS=localhost CLUSTER_REDIS_PORT=6379 CLUSTER_CONCURRENCY=80 REDIS_HOST=localhost FLOWER_ADDRESS=localhost FLOWER_PORT=5556 BROKERHOST='mqtt://localhost' node index.js
ONE_KNOWN_PERSON_BYPASS_QUEUE_MODE=0 DEEP_ANALYSIS_MODE=1 SAMPLING_TO_SAVE_ENERGY_MODE=0 RESTRICT_RECOGNITON_MODE=0 MINIMAL_FACE_RESOLUTION=100 BIGGEST_FACE_ONLY_MODE=0 UPLOAD_IMAGE_SERVICE_ENABLED=0 GIF_UPLOADING=1 REALTIME_STRANGER_SDK_MESSAGE=1 ENABLE_STATIC_OBJECT_FILTER=true CLUSTER_REDIS_ADDRESS=localhost CLUSTER_REDIS_PORT=6379 CLUSTER_CONCURRENCY=80 REDIS_HOST=localhost FLOWER_ADDRESS=localhost FLOWER_PORT=5556 BROKERHOST='mqtt://localhost' node index.js
sleep 20
done
2 changes: 1 addition & 1 deletion src/embedding/classifier_worker_arm.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
while [ 1 ]
do
$PREFIX/bin/bash /data/data/com.termux/files/home/arch/startarch c "cd /data/data/com.termux/files/home/sharpai/src/embedding && TASKER=worker WORKER_TYPE=classify REDIS_ADDRESS=localhost DEVICE_GROUP_ID_FILEPATH=/data/data/com.termux/files/home/.groupid.txt DEVICE_UUID_FILEPATH=/data/data/com.termux/files/home/.ro_serialno RUNTIME_BASEDIR=/data/data/com.termux/files/home/sharpai/src/embedding python classifier_rest_server.py worker --loglevel INFO -E -n classify -c 1 -Q classify"
$PREFIX/bin/bash /data/data/com.termux/files/home/arch/startarch c "cd /data/data/com.termux/files/home/sharpai/src/embedding && cp -a judgeutil.so_termux_arch-linux_arm judgeutil.so &&TASKER=worker WORKER_TYPE=classify REDIS_ADDRESS=localhost DEVICE_GROUP_ID_FILEPATH=/data/data/com.termux/files/home/.groupid.txt DEVICE_UUID_FILEPATH=/data/data/com.termux/files/home/.ro_serialno RUNTIME_BASEDIR=/data/data/com.termux/files/home/sharpai/src/embedding python classifier_rest_server.py worker --loglevel INFO -E -n classify -c 1 -Q classify"
sleep 20
done
2 changes: 1 addition & 1 deletion src/embedding/embedding_arm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ export CLUSTER_CONCURRENCY=1
#export LD_PRELOAD=$LD_PRELOAD:libatomic.so:libcutils.so
while [ 1 ]
do
LD_PRELOAD=libatomic.so:libcutils.so WORKER_TYPE=embedding CLUSTER_REDIS_ADDRESS=localhost REDIS_ADDRESS=localhost WORKER_BROKER=redis://localhost/0 python2 upload_api-v2.py worker --loglevel INFO -E -n embedding -c 1 -Q embedding
LD_PRELOAD=libatomic.so:libcutils.so:libm.so WORKER_TYPE=embedding CLUSTER_REDIS_ADDRESS=localhost REDIS_ADDRESS=localhost WORKER_BROKER=redis://localhost/0 python2 upload_api-v2.py worker --loglevel INFO -E -n embedding -c 1 -Q embedding
sleep 20
done