| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- INFO: Started server process [628462]
- INFO: Waiting for application startup.
- INFO: Application startup complete.
- INFO: Uvicorn running on http://0.0.0.0:8070 (Press CTRL+C to quit)
- INFO: 127.0.0.1:44650 - "GET /health HTTP/1.1" 200 OK
- [1/5] 生成 initial_mask ...
- OK /tmp/floorplan_4d86682984e9/initial_mask_SG-hx-91fvPi6izvG.png
- [2/5] 生成 refine_mask ...
- OK /tmp/floorplan_4d86682984e9/refine_mask_SG-hx-91fvPi6izvG.png
- [3/5] 运行管线 ...
- [DEBUG] Stage3门检测: bridge_fragments=14, group_count=12, connect_area_count=12, mask1_blocks=10, mask2_fragments=16
- WARNING ⚠️ Unable to automatically guess model task, assuming 'task=detect'. Explicitly define task for your model, i.e. 'task=detect', 'segment', 'classify','pose' or 'obb'.
- Loading furniture_detect.onnx for ONNX Runtime inference...
- Using ONNX Runtime 1.24.4 with CUDAExecutionProvider
- Traceback (most recent call last):
- File "/media/dage/KESU/temp/floorplan/full_server_v2.py", line 1148, in process_upload
- demo_data, _ = run_5stage(
- ^^^^^^^^^^^
- File "/media/dage/KESU/temp/floorplan/full_server_v2.py", line 1076, in run_5stage
- demo_data = convert_to_demo_format(result_json, demo_path)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/media/dage/KESU/temp/floorplan/full_server_v2.py", line 982, in convert_to_demo_format
- f"pixel_segments_raw={len(pixel_segments_raw)}, split_pixel_segments={len(split_pixel_segments) if split_pixel_segments else 0}, "
- ^^^^^^^^^^^^^^^^^^^^
- UnboundLocalError: cannot access local variable 'split_pixel_segments' where it is not associated with a value
- OK /tmp/floorplan_4d86682984e9/SG-hx-91fvPi6izvG.json
- [4/5] 生成可视化 ...
- OK /tmp/floorplan_4d86682984e9/SG-hx-91fvPi6izvG_vis.png
- [5/5] 像素坐标转世界坐标 ...
- INFO: 127.0.0.1:51094 - "POST /process-upload HTTP/1.1" 500 Internal Server Error
- Traceback (most recent call last):
- File "/media/dage/KESU/temp/floorplan/full_server_v2.py", line 1148, in process_upload
- demo_data, _ = run_5stage(
- ^^^^^^^^^^^
- File "/media/dage/KESU/temp/floorplan/full_server_v2.py", line 1076, in run_5stage
- demo_data = convert_to_demo_format(result_json, demo_path)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/media/dage/KESU/temp/floorplan/full_server_v2.py", line 982, in convert_to_demo_format
- f"pixel_segments_raw={len(pixel_segments_raw)}, split_pixel_segments={len(split_pixel_segments) if split_pixel_segments else 0}, "
- ^^^^^^^^^^^^^^^^^^^^
- UnboundLocalError: cannot access local variable 'split_pixel_segments' where it is not associated with a value
- [1/5] 生成 initial_mask ...
- OK /tmp/floorplan_d7a033a18708/initial_mask_SG-hx-91fvPi6izvG.png
- [2/5] 生成 refine_mask ...
- OK /tmp/floorplan_d7a033a18708/refine_mask_SG-hx-91fvPi6izvG.png
- [3/5] 运行管线 ...
- [DEBUG] Stage3门检测: bridge_fragments=14, group_count=12, connect_area_count=12, mask1_blocks=10, mask2_fragments=16
- OK /tmp/floorplan_d7a033a18708/SG-hx-91fvPi6izvG.json
- [4/5] 生成可视化 ...
- OK /tmp/floorplan_d7a033a18708/SG-hx-91fvPi6izvG_vis.png
- [5/5] 像素坐标转世界坐标 ...
- INFO: 127.0.0.1:49098 - "POST /process-upload HTTP/1.1" 500 Internal Server Error
|