Refactor and clean up codebase by removing unused functions and reorganizing imports

- Removed unused model keys and functions from properties.py.
- Deleted projection.py as its functions were no longer needed.
- Cleaned up model_catalog.py by removing unused model directory function.
- Updated imports in various test files to reflect new module structure.
- Removed deprecated test cases related to image editing tools.
- Added new tests for ONNX runtime provider selection logic.
This commit is contained in:
2026-09-09 10:31:56 +08:00
parent 4c902ed7db
commit f5aff50b13
47 changed files with 460 additions and 413 deletions

View File

@@ -12,8 +12,8 @@ sys.path.insert(0, str(SOURCE_ROOT))
from anyimage.common import image as image_data
from anyimage.common.selection import SelectionMask
from anyimage.operators.image_edit_tool import mask as edit_mask
from anyimage.operators.image_edit_tool import frame as edit_frame
from anyimage.operators import mask_tool as edit_mask
from anyimage.operators import frame_tool as edit_frame
def test_image_edit_result_uses_complete_shared_source_name():