完成推理模块的主体功能
This commit is contained in:
@ -212,7 +212,7 @@ def run_commend(data: str, project: str,
|
||||
train = ProjectTrain()
|
||||
train.project_id = project_id
|
||||
train.train_version = name
|
||||
bast_pt_path = os.file_path(project, name, 'weights', 'bast.pt')
|
||||
bast_pt_path = os.file_path(project, name, 'weights', 'best.pt')
|
||||
last_pt_path = os.file_path(project, name, 'weights', 'last.pt')
|
||||
train.best_pt = bast_pt_path
|
||||
train.last_pt = last_pt_path
|
||||
|
Reference in New Issue
Block a user