Rename: services 폴더 세분화 위해 ai_services.py -> load_model.py로 이름 변경

This commit is contained in:
김진현 2024-09-12 10:23:55 +09:00
parent dbab504ab8
commit 68f6baa20a
3 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ from fastapi import APIRouter, HTTPException
from schemas.predict_request import PredictRequest from schemas.predict_request import PredictRequest
from schemas.train_request import TrainRequest from schemas.train_request import TrainRequest
from schemas.predict_response import PredictResponse, LabelData from schemas.predict_response import PredictResponse, LabelData
from services.ai_service import load_detection_model from app.services.load_model import load_detection_model
from utils.dataset_utils import split_data from utils.dataset_utils import split_data
from utils.file_utils import get_dataset_root_path, process_directories, process_image_and_label, join_path from utils.file_utils import get_dataset_root_path, process_directories, process_image_and_label, join_path
from typing import List from typing import List

View File

@ -1,7 +1,7 @@
from fastapi import APIRouter, HTTPException from fastapi import APIRouter, HTTPException
from schemas.predict_request import PredictRequest from schemas.predict_request import PredictRequest
from schemas.predict_response import PredictResponse, LabelData from schemas.predict_response import PredictResponse, LabelData
from services.ai_service import load_segmentation_model from app.services.load_model import load_segmentation_model
from typing import List from typing import List
router = APIRouter() router = APIRouter()