OMG, face_distance is float not int, how has this ever worked
This commit is contained in:
4
face.py
4
face.py
@@ -62,13 +62,13 @@ class FaceRefimgLink(PA, db.Model):
|
||||
Attributes:
|
||||
face_id (int): face id of row in Face table / foreign key - part primary key
|
||||
refimg_id (int): face id of row in Face table / foreign key - part primary key
|
||||
face_distance (int): distance value (how similar matched Face was)
|
||||
face_distance (float): distance value (how similar matched Face was)
|
||||
"""
|
||||
|
||||
__tablename__ = "face_refimg_link"
|
||||
face_id = db.Column(db.Integer, db.ForeignKey("face.id"), primary_key=True )
|
||||
refimg_id = db.Column(db.Integer, db.ForeignKey("refimg.id"), primary_key=True )
|
||||
face_distance = db.Column(db.Integer)
|
||||
face_distance = db.Column(db.Float)
|
||||
|
||||
|
||||
################################################################################
|
||||
|
||||
Reference in New Issue
Block a user