修改训练参数类型
This commit is contained in:
parent
8c44c56cb6
commit
9347fc29c0
|
@ -36,7 +36,7 @@ class PredictOptions(BaseModel):
|
|||
|
||||
class TrainOptions(BaseModel):
|
||||
train_path: InputFilePath = Field(..., ftypes=['zip'], description="训练数据集")
|
||||
test_path: Optional[InputFilePath] = Field(ftypes=['ckpt'], description="测试使用的模型")
|
||||
test_path: Optional[InputFilePath] = Field(ftypes=['zip'], description="测试使用的模型")
|
||||
output_dir: OutputDirectory = Field(
|
||||
default="./result"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue