Added train, val, test selctor
This commit is contained in:
@@ -9,6 +9,7 @@ class SignVideo(SQLModelExtended, table=True):
|
||||
id: int = Field(primary_key=True)
|
||||
|
||||
approved: bool = False
|
||||
dataset: str = "train" # train, test, val
|
||||
|
||||
# foreign key to sign
|
||||
sign_id: int = Field(default=None, foreign_key="sign.id")
|
||||
@@ -22,4 +23,5 @@ class SignVideo(SQLModelExtended, table=True):
|
||||
|
||||
class SignVideoOut(BaseModel):
|
||||
id: int
|
||||
approved: bool
|
||||
approved: bool
|
||||
dataset: str
|
||||
Reference in New Issue
Block a user