journey-d commited on
Update README.md
Browse files39 unmodified lines40414243444546476 unmodified lines545556575859606162636465666768693 unmodified lines7374757677787980818239 unmodified lines.|-- model| `-- coderformer.axmodel|-- python|`-- run_axmodel.py|`-- requirements.txt6 unmodified lines```|-- images| `-- 00_00.png| `-- 00_01.png| `-- 00_02.png```#### Inference with AX650 Host, such as M4N-Dock(爱芯派Pro)```root@ax650 ~/realesrgan #python3 run_axmodel.py --inputs_path ./images --model_path ./coderformer.axmodel[INFO] Available providers: ['AxEngineExecutionProvider'][INFO] Using provider: AxEngineExecutionProvider3 unmodified lines[INFO] Model type: 2 (triple core)[INFO] Compiler version: 5.0-patch1 681a0b38SR image save to `00_00.png`SR image save to `01_00.png`SR image save to `02_00.png````Output:39 unmodified lines40414243444546474849506 unmodified lines575859606162636465666768697071727374753 unmodified lines79808182838485868788899091929394959697989910010110210310410510610710810911011111239 unmodified lines.|-- model| `-- coderformer.axmodel| `-- yolov5l-face.axmodel| `-- realesrgan-x2.axmodel|-- python|`-- run_axmodel.py|`-- run_whole_image.py|`-- requirements.txt6 unmodified lines```|-- images| -- face| `-- 00_00.png| -- image| `-- 02.png```#### Inference with AX650 Host, such as M4N-Dock(爱芯派Pro)运行人脸修复demo(需输入人脸图片)```root@ax650 ~/codeformer #python3 run_axmodel.py --inputs_path ./images/face --model_path ./coderformer.axmodel[INFO] Available providers: ['AxEngineExecutionProvider'][INFO] Using provider: AxEngineExecutionProvider3 unmodified lines[INFO] Model type: 2 (triple core)[INFO] Compiler version: 5.0-patch1 681a0b38SR image save to `00_00.png````Output:运行整图修复demo(输入正常图片即可)```root@ax650 ~/codeformer #python3 run_whole_image.py --input_path ./images/image --detect_model ./yolov5l-face.axmodel --restore_model codeformer.axmodel --bg_model realesrgan-x2.axmodel[INFO] Available providers: ['AxEngineExecutionProvider'][INFO] Using provider: AxEngineExecutionProvider[INFO] Chip type: ChipType.MC50[INFO] VNPU type: VNPUType.DISABLED[INFO] Engine version: 2.12.0s[INFO] Model type: 2 (triple core)[INFO] Compiler version: 5.0-patch1 6d9cc640[INFO] Using provider: AxEngineExecutionProvider[INFO] Model type: 2 (triple core)[INFO] Compiler version: 5.0-patch1 681a0b38[INFO] Using provider: AxEngineExecutionProvider[INFO] Model type: 2 (triple core)[INFO] Compiler version: 4.2-dirty 5e72cf06-dirty[1/1] Processing: 02.pngdetect 4 facesSR image save to `02.png````Output:
README.md+37-7