You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error of free(): double free detected in tcache2 was found when running with fastapi server #230
I just use the follwing code to provide a http server for testing:
`import yaml
import uvicorn
from fastapi import FastAPI, UploadFile, File
from model_task.models.layout_detection.yolo import LayoutDetectionYOLO
app = FastAPI()
with open('config.yaml', 'r', encoding= 'utf8') as file:
config = yaml.safe_load(file)
layout_config = config['tasks']['layout_detection']['model_config']
layout_model = LayoutDetectionYOLO(layout_config)
Activity