Open Zoigin opened 2 years ago
这是哪一步出错?添加完人脸,训练完人脸了没
人脸添加的时候有个报错,但是dataset里面还是成功添加进去照片了 我今天下午发的那个就是点击训练人脸后的报错
------------------ 原始邮件 ------------------ 发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>; 发送时间: 2022年4月23日(星期六) 晚上6:49 @.>; @.**@.>; 主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
这是哪一步出错?添加完人脸,训练完人脸了没
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
检测到人脸有框的时候添加人脸,不然添加的时候会报错,但是也不影响。 我刚刚测试是可以的。 你的报错显示NoneType,应该是没检测到你数据集里的图片,填写个人信息的时候格式尽量要正确。 另外如果你需要使用数据库和django联动需要自行配置mysql。
是不是填写姓名的时候不能用中文呢?我的照片名字的中文部分就乱码了 ,能否看下数据库中表的构造呢 谢谢了
------------------ 原始邮件 ------------------ 发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>; 发送时间: 2022年4月23日(星期六) 晚上9:29 @.>; @.**@.>; 主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
检测到人脸有框的时候添加人脸,不然添加的时候会报错,但是也不影响。
我刚刚测试是可以的。 你的报错显示NoneType,应该是没检测到你数据集里的图片,填写个人信息的时候格式尽量要正确。 另外如果你需要使用数据库和django联动需要自行配置mysql。
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
确实是中文的问题。
将FaceRecogniton.py中
imread改为
img = cv2.imdecode(np.fromfile(face_img, dtype=np.uint8), 0) # 用于解决不能读取中文路径图片。(灰度)
将Run.py中
改为 cv2.imencode('.jpg', src)[1].tofile(save_path)
可以解决中文乱码和训练报错的问题。
我已经commit到了最新的代码里。
感谢你的使用和提问。
关于数据库表的构造可以在django中models.py中看到,大多都是数据类型的约束。
非常感谢您的耐心解答,那个中文的问题解决了;),但是那个django里面好像只有models.xml文件
之前有些问题,我刚刚上传了django文件
使用人脸签退的时候一直没有像在人脸签到时有个人脸识别的蓝色框,然后也无法签退,签到功能是可以正常运行的。 还有一个小请求,能否演示一下django里的功能如何运行和使用吗,谢谢了
------------------ 原始邮件 ------------------ 发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>; 发送时间: 2022年4月27日(星期三) 下午5:17 @.>; @.**@.>; 主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
之前有些问题,我刚刚上传了django文件
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
那个django我已经大概配置好了 ,然后我想问一下当我点成员管理的时候:
就报了这个错误,我在网上也找了解决办法但是您的文件中都有相关代码:
还有个问题就是这个网页端跟那个人脸识别的程序是有互动的吗? 这个系统是还有管理员账户吗 谢谢!
------------------ 原始邮件 ------------------ 发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>; 发送时间: 2022年4月27日(星期三) 下午5:17 @.>; @.**@.>; 主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
之前有些问题,我刚刚上传了django文件
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
你的这个报错我好像看不到。 网页端和客户端都可以进行签到和签退,应该是同步的。 user_type_id为1时是管理员账户,在添加人脸时,默认了为2,即普通的用户 想要成为管理员账户,可以直接操作数据库进行修改。
好的 谢谢您的解答 ,我再找下原因
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年5月1日(星期天) 中午12:26 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
你的这个报错我好像看不到。 网页端和客户端都可以进行签到和签退,应该是同步的。 user_type_id为1时是管理员账户,在添加人脸时,默认了为2,即普通的用户 想要成为管理员账户,可以直接操作数据库进行修改。
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
我那个报错可能是数据库的问题,我看到有种说法是:如果表中数据为空的话就可能报错 models.py里的关系表定义好像不太全, 可以看下你在数据库里的具体定义吗
------------------ 原始邮件 ------------------ 发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>; 发送时间: 2022年5月1日(星期天) 中午12:26 @.>; @.**@.>; 主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
你的这个报错我好像看不到。 网页端和客户端都可以进行签到和签退,应该是同步的。 user_type_id为1时是管理员账户,在添加人脸时,默认了为2,即普通的用户 想要成为管理员账户,可以直接操作数据库进行修改。
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年5月1日(星期天) 晚上7:17 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
我那个报错可能是数据库的问题,我看到有种说法是:如果表中数据为空的话就可能报错 models.py里的关系表定义好像不太全, 可以看下你在数据库里的具体定义吗
------------------ 原始邮件 ------------------ 发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>; 发送时间: 2022年5月1日(星期天) 中午12:26 @.>; @.**@.>; 主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
你的这个报错我好像看不到。 网页端和客户端都可以进行签到和签退,应该是同步的。 user_type_id为1时是管理员账户,在添加人脸时,默认了为2,即普通的用户 想要成为管理员账户,可以直接操作数据库进行修改。
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>
确实是数据库的表的定义问题,有几张表中的外码之前没定义好:)
------------------ 原始邮件 ------------------ 发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>; 发送时间: 2022年5月1日(星期天) 晚上7:35 @.>; @.**@.>; 主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2022年5月1日(星期天) 晚上7:17
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
我那个报错可能是数据库的问题,我看到有种说法是:如果表中数据为空的话就可能报错
models.py里的关系表定义好像不太全, 可以看下你在数据库里的具体定义吗
------------------ 原始邮件 ------------------
发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>;
发送时间: 2022年5月1日(星期天) 中午12:26
@.>;
@.**@.>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
你的这个报错我好像看不到。
网页端和客户端都可以进行签到和签退,应该是同步的。
user_type_id为1时是管理员账户,在添加人脸时,默认了为2,即普通的用户
想要成为管理员账户,可以直接操作数据库进行修改。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>
django的makemigrasions和migrate是可以进行数据库迁移的
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年5月1日(星期天) 晚上8:20 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
确实是数据库的表的定义问题,有几张表中的外码之前没定义好:)
------------------ 原始邮件 ------------------ 发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>; 发送时间: 2022年5月1日(星期天) 晚上7:35 @.>; @.**@.>; 主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2022年5月1日(星期天) 晚上7:17
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
我那个报错可能是数据库的问题,我看到有种说法是:如果表中数据为空的话就可能报错
models.py里的关系表定义好像不太全, 可以看下你在数据库里的具体定义吗
------------------ 原始邮件 ------------------
发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>;
发送时间: 2022年5月1日(星期天) 中午12:26
@.>;
@.**@.>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
你的这个报错我好像看不到。
网页端和客户端都可以进行签到和签退,应该是同步的。
user_type_id为1时是管理员账户,在添加人脸时,默认了为2,即普通的用户
想要成为管理员账户,可以直接操作数据库进行修改。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.>
我把我写的表都删了,然后迁移了migration里的之后,现在账户注册就出现问题了:
之前还是好好的 我也没有去动它
------------------ 原始邮件 ------------------ 发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>; 发送时间: 2022年5月1日(星期天) 晚上8:36 @.>; @.**@.>; 主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
django的makemigrasions和migrate是可以进行数据库迁移的
------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2022年5月1日(星期天) 晚上8:20
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
确实是数据库的表的定义问题,有几张表中的外码之前没定义好:)
------------------ 原始邮件 ------------------
发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>;
发送时间: 2022年5月1日(星期天) 晚上7:35
@.>;
@.**@.>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2022年5月1日(星期天) 晚上7:17
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
我那个报错可能是数据库的问题,我看到有种说法是:如果表中数据为空的话就可能报错
models.py里的关系表定义好像不太全, 可以看下你在数据库里的具体定义吗
------------------ 原始邮件 ------------------
发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" ***@***.***>;
发送时间: 2022年5月1日(星期天) 中午12:26
***@***.***>;
***@***.******@***.***>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
你的这个报错我好像看不到。
网页端和客户端都可以进行签到和签退,应该是同步的。
user_type_id为1时是管理员账户,在添加人脸时,默认了为2,即普通的用户
想要成为管理员账户,可以直接操作数据库进行修改。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.>
我看不到你的问题的图片
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年5月1日(星期天) 晚上10:52 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
我把我写的表都删了,然后迁移了migration里的之后,现在账户注册就出现问题了:
之前还是好好的 我也没有去动它
------------------ 原始邮件 ------------------ 发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>; 发送时间: 2022年5月1日(星期天) 晚上8:36 @.>; @.**@.>; 主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
django的makemigrasions和migrate是可以进行数据库迁移的
------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2022年5月1日(星期天) 晚上8:20
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
确实是数据库的表的定义问题,有几张表中的外码之前没定义好:)
------------------ 原始邮件 ------------------
发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>;
发送时间: 2022年5月1日(星期天) 晚上7:35
@.>;
@.**@.>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2022年5月1日(星期天) 晚上7:17
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
我那个报错可能是数据库的问题,我看到有种说法是:如果表中数据为空的话就可能报错
models.py里的关系表定义好像不太全, 可以看下你在数据库里的具体定义吗
------------------ 原始邮件 ------------------
发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" ***@***.***>;
发送时间: 2022年5月1日(星期天) 中午12:26
***@***.***>;
***@***.******@***.***>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
你的这个报错我好像看不到。
网页端和客户端都可以进行签到和签退,应该是同步的。
user_type_id为1时是管理员账户,在添加人脸时,默认了为2,即普通的用户
想要成为管理员账户,可以直接操作数据库进行修改。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.>
------------------ 原始邮件 ------------------ 发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>; 发送时间: 2022年5月1日(星期天) 晚上11:02 @.>; @.**@.>; 主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
我看不到你的问题的图片
------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2022年5月1日(星期天) 晚上10:52
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
我把我写的表都删了,然后迁移了migration里的之后,现在账户注册就出现问题了:
之前还是好好的 我也没有去动它
------------------ 原始邮件 ------------------
发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>;
发送时间: 2022年5月1日(星期天) 晚上8:36
@.>;
@.**@.>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
django的makemigrasions和migrate是可以进行数据库迁移的
------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2022年5月1日(星期天) 晚上8:20
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
确实是数据库的表的定义问题,有几张表中的外码之前没定义好:)
------------------ 原始邮件 ------------------
发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" ***@***.***>;
发送时间: 2022年5月1日(星期天) 晚上7:35
***@***.***>;
***@***.******@***.***>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2022年5月1日(星期天) 晚上7:17
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
我那个报错可能是数据库的问题,我看到有种说法是:如果表中数据为空的话就可能报错
models.py里的关系表定义好像不太全, 可以看下你在数据库里的具体定义吗
------------------ 原始邮件 ------------------
发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" ***@***.***>;
发送时间: 2022年5月1日(星期天) 中午12:26
***@***.***>;
***@***.******@***.***>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
你的这个报错我好像看不到。
网页端和客户端都可以进行签到和签退,应该是同步的。
user_type_id为1时是管理员账户,在添加人脸时,默认了为2,即普通的用户
想要成为管理员账户,可以直接操作数据库进行修改。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.>
这是那个register的部分
------------------ 原始邮件 ------------------ 发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>; 发送时间: 2022年5月1日(星期天) 晚上11:02 @.>; @.**@.>; 主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
我看不到你的问题的图片
------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2022年5月1日(星期天) 晚上10:52
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
我把我写的表都删了,然后迁移了migration里的之后,现在账户注册就出现问题了:
之前还是好好的 我也没有去动它
------------------ 原始邮件 ------------------
发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>;
发送时间: 2022年5月1日(星期天) 晚上8:36
@.>;
@.**@.>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
django的makemigrasions和migrate是可以进行数据库迁移的
------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2022年5月1日(星期天) 晚上8:20
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
确实是数据库的表的定义问题,有几张表中的外码之前没定义好:)
------------------ 原始邮件 ------------------
发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" ***@***.***>;
发送时间: 2022年5月1日(星期天) 晚上7:35
***@***.***>;
***@***.******@***.***>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2022年5月1日(星期天) 晚上7:17
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
我那个报错可能是数据库的问题,我看到有种说法是:如果表中数据为空的话就可能报错
models.py里的关系表定义好像不太全, 可以看下你在数据库里的具体定义吗
------------------ 原始邮件 ------------------
发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" ***@***.***>;
发送时间: 2022年5月1日(星期天) 中午12:26
***@***.***>;
***@***.******@***.***>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
你的这个报错我好像看不到。
网页端和客户端都可以进行签到和签退,应该是同步的。
user_type_id为1时是管理员账户,在添加人脸时,默认了为2,即普通的用户
想要成为管理员账户,可以直接操作数据库进行修改。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.>
收到了吗
------------------ 原始邮件 ------------------ 发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>; 发送时间: 2022年5月1日(星期天) 晚上11:02 @.>; @.**@.>; 主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
我看不到你的问题的图片
------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2022年5月1日(星期天) 晚上10:52
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
我把我写的表都删了,然后迁移了migration里的之后,现在账户注册就出现问题了:
之前还是好好的 我也没有去动它
------------------ 原始邮件 ------------------
发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>;
发送时间: 2022年5月1日(星期天) 晚上8:36
@.>;
@.**@.>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
django的makemigrasions和migrate是可以进行数据库迁移的
------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2022年5月1日(星期天) 晚上8:20
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
确实是数据库的表的定义问题,有几张表中的外码之前没定义好:)
------------------ 原始邮件 ------------------
发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" ***@***.***>;
发送时间: 2022年5月1日(星期天) 晚上7:35
***@***.***>;
***@***.******@***.***>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2022年5月1日(星期天) 晚上7:17
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
我那个报错可能是数据库的问题,我看到有种说法是:如果表中数据为空的话就可能报错
models.py里的关系表定义好像不太全, 可以看下你在数据库里的具体定义吗
------------------ 原始邮件 ------------------
发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" ***@***.***>;
发送时间: 2022年5月1日(星期天) 中午12:26
***@***.***>;
***@***.******@***.***>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
你的这个报错我好像看不到。
网页端和客户端都可以进行签到和签退,应该是同步的。
user_type_id为1时是管理员账户,在添加人脸时,默认了为2,即普通的用户
想要成为管理员账户,可以直接操作数据库进行修改。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.>
还是看不到图片,只有你的文字
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年5月1日(星期天) 晚上11:24 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
还是看不到图片,只有你的文字
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
可以看到了吗
------------------ 原始邮件 ------------------ 发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>; 发送时间: 2022年5月1日(星期天) 晚上11:24 @.>; @.**@.>; 主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
还是看不到图片,只有你的文字
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
网页端的我已经调试好了,但是现在那个人脸识别的客户端,人脸添加和训练功能都是正常的,人脸签到的时候就报了一个上述图片里的错误,好像是说哪里返回了一个空值,我在网上也找了但是没解决,可以帮我看看是什么地方需要修改吗,谢谢了
------------------ 原始邮件 ------------------ 发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>; 发送时间: 2022年5月1日(星期天) 晚上11:24 @.>; @.**@.>; 主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
还是看不到图片,只有你的文字
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
抱歉我才发现从邮箱发的照片都显示不出来,要从github上直接发,能帮我看下报错的问题出在哪吗,谢谢:)
可以看到之前发的图片吗
------------------ 原始邮件 ------------------ 发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>; 发送时间: 2022年5月1日(星期天) 晚上11:24 @.>; @.**@.>; 主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
还是看不到图片,只有你的文字
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
您好 我想问一下:如果要在网页端签到时调用那个人脸识别的程序,要改哪些地方呢
非常感谢您的耐心解答,那个中文的问题解决了;),但是那个django里面好像只有models.xml文件 签到的时候实时图像里可以标出人脸识别框和名字,但是一直没有显示签到成功,这是咋回事 最后还有一个拼写小错误 faceRecognition.py里的
------------------ 原始邮件 ------------------ 发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>; 发送时间: 2022年4月23日(星期六) 晚上10:35 @.>; @.**@.>; 主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
关于数据库表的构造可以在django中models.py中看到,大多都是数据类型的约束。
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
好的 ,我比较小白,我先试一下
------------------ 原始邮件 ------------------ 发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>; 发送时间: 2022年5月1日(星期天) 晚上8:36 @.>; @.**@.>; 主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
django的makemigrasions和migrate是可以进行数据库迁移的
------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2022年5月1日(星期天) 晚上8:20
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
确实是数据库的表的定义问题,有几张表中的外码之前没定义好:)
------------------ 原始邮件 ------------------
发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>;
发送时间: 2022年5月1日(星期天) 晚上7:35
@.>;
@.**@.>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2022年5月1日(星期天) 晚上7:17
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
我那个报错可能是数据库的问题,我看到有种说法是:如果表中数据为空的话就可能报错
models.py里的关系表定义好像不太全, 可以看下你在数据库里的具体定义吗
------------------ 原始邮件 ------------------
发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" ***@***.***>;
发送时间: 2022年5月1日(星期天) 中午12:26
***@***.***>;
***@***.******@***.***>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
你的这个报错我好像看不到。
网页端和客户端都可以进行签到和签退,应该是同步的。
user_type_id为1时是管理员账户,在添加人脸时,默认了为2,即普通的用户
想要成为管理员账户,可以直接操作数据库进行修改。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.>
稍等
------------------ 原始邮件 ------------------ 发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>; 发送时间: 2022年5月1日(星期天) 晚上11:02 @.>; @.**@.>; 主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
我看不到你的问题的图片
------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2022年5月1日(星期天) 晚上10:52
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
我把我写的表都删了,然后迁移了migration里的之后,现在账户注册就出现问题了:
之前还是好好的 我也没有去动它
------------------ 原始邮件 ------------------
发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>;
发送时间: 2022年5月1日(星期天) 晚上8:36
@.>;
@.**@.>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
django的makemigrasions和migrate是可以进行数据库迁移的
------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2022年5月1日(星期天) 晚上8:20
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
确实是数据库的表的定义问题,有几张表中的外码之前没定义好:)
------------------ 原始邮件 ------------------
发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" ***@***.***>;
发送时间: 2022年5月1日(星期天) 晚上7:35
***@***.***>;
***@***.******@***.***>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2022年5月1日(星期天) 晚上7:17
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
我那个报错可能是数据库的问题,我看到有种说法是:如果表中数据为空的话就可能报错
models.py里的关系表定义好像不太全, 可以看下你在数据库里的具体定义吗
------------------ 原始邮件 ------------------
发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" ***@***.***>;
发送时间: 2022年5月1日(星期天) 中午12:26
***@***.***>;
***@***.******@***.***>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
你的这个报错我好像看不到。
网页端和客户端都可以进行签到和签退,应该是同步的。
user_type_id为1时是管理员账户,在添加人脸时,默认了为2,即普通的用户
想要成为管理员账户,可以直接操作数据库进行修改。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.>
是settings.py里面有个路径出问题了,我之前移动了settings.py的位置(在设置migration的时候)
------------------ 原始邮件 ------------------ 发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>; 发送时间: 2022年5月1日(星期天) 晚上11:24 @.>; @.**@.>; 主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
还是看不到图片,只有你的文字
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
你的回复好像乱码了
------------------ 原始邮件 ------------------ 发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>; 发送时间: 2022年5月1日(星期天) 晚上7:35 @.>; @.**@.>; 主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2022年5月1日(星期天) 晚上7:17
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
我那个报错可能是数据库的问题,我看到有种说法是:如果表中数据为空的话就可能报错
models.py里的关系表定义好像不太全, 可以看下你在数据库里的具体定义吗
------------------ 原始邮件 ------------------
发件人: "Jeremy-ttt/Face_recogniton-Attendence-System" @.>;
发送时间: 2022年5月1日(星期天) 中午12:26
@.>;
@.**@.>;
主题: Re: [Jeremy-ttt/Face_recogniton-Attendence-System] 人脸训练 (Issue #1)
你的这个报错我好像看不到。
网页端和客户端都可以进行签到和签退,应该是同步的。
user_type_id为1时是管理员账户,在添加人脸时,默认了为2,即普通的用户
想要成为管理员账户,可以直接操作数据库进行修改。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>
请问一下这个问题如何解决:)