docs: update face_settings guide with correct log verification steps
- Updated log paths and examples to match actual implementation - Added [WORKER] log verification - Fixed swift_face log path (file_uuid.face_detect.json.log)
This commit is contained in:
@@ -169,9 +169,20 @@ curl -s -X POST http://localhost:3002/api/v1/files/0489e104d7d1e11e613da01f7aa13
|
||||
|
||||
### 確認環境變數是否生效
|
||||
|
||||
**檢查 Rust Executor Log**:
|
||||
**檢查 Worker Log**:
|
||||
```bash
|
||||
grep "\[EXECUTOR\] Face settings" /Users/accusys/momentry_core/logs/nohup_worker_3002.log
|
||||
grep "\[WORKER\]" /Users/accusys/momentry_core/logs/nohup_worker_3002.log | tail -10
|
||||
```
|
||||
|
||||
**預期輸出**(正確):
|
||||
```
|
||||
[WORKER] Job 0489e104d7d1e11e613da01f7aa130ca face_settings: CONFIDENCE=0.5, SIZE=1
|
||||
[WORKER] Set FACE_MIN_CONFIDENCE=0.5, FACE_MIN_SIZE=1 for job 0489e104d7d1e11e613da01f7aa130ca
|
||||
```
|
||||
|
||||
**檢查 Executor Log**:
|
||||
```bash
|
||||
grep "\[EXECUTOR\] Face settings" /Users/accusys/momentry_core/logs/nohup_worker_3002.log | tail -5
|
||||
```
|
||||
|
||||
**預期輸出**(正確):
|
||||
@@ -179,14 +190,9 @@ grep "\[EXECUTOR\] Face settings" /Users/accusys/momentry_core/logs/nohup_worker
|
||||
[EXECUTOR] Face settings: CONFIDENCE=Some("0.5"), SIZE=Some("1")
|
||||
```
|
||||
|
||||
**預期輸出**(錯誤 - 未設置):
|
||||
```
|
||||
[EXECUTOR] Face settings: CONFIDENCE=None, SIZE=None
|
||||
```
|
||||
|
||||
**檢查 Python Processor Log**:
|
||||
```bash
|
||||
grep "\[FACE_V2\] Settings passed" /Users/accusys/momentry_core/logs/nohup_worker_3002.log
|
||||
grep "\[FACE_V2\] Settings passed" /Users/accusys/momentry_core/logs/nohup_worker_3002.log | tail -5
|
||||
```
|
||||
|
||||
**預期輸出**(正確):
|
||||
@@ -201,7 +207,7 @@ grep "\[FACE_V2\] Settings passed" /Users/accusys/momentry_core/logs/nohup_worke
|
||||
|
||||
**檢查 Swift Binary Log**:
|
||||
```bash
|
||||
cat /Users/accusys/momentry/output/{file_uuid}/face_detect.json.log | grep "Settings"
|
||||
cat /Users/accusys/momentry/output/{file_uuid}.face_detect.json.log | grep "Settings"
|
||||
```
|
||||
|
||||
**預期輸出**(正確):
|
||||
|
||||
Reference in New Issue
Block a user