Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-2-capstone-design2
/
2014104149
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Ubuntu
2020-11-19 01:26:58 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0ab5b11978fec4aca90bbf36eb215f17b8a121e2
0ab5b119
1 parent
bbf8dc2d
Update face recognition module
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
server/DB.cnf
server/server.py
server/DB.cnf
View file @
0ab5b11
[client]
user=
root
password=
1234
host=
localhost
user=
admin
password=
attendance
host=
attendance-system.c4yvip5o6czh.ap-northeast-2.rds.amazonaws.com
database=attendance
charset=utf8
\ No newline at end of file
charset=utf8
...
...
server/server.py
View file @
0ab5b11
...
...
@@ -190,7 +190,7 @@ def load_model(model, input_map=None):
print
(
'Checkpoint file:
%
s'
%
ckpt_file
)
saver
=
tf
.
compat
.
v1
.
train
.
import_meta_graph
(
os
.
path
.
join
(
model_exp
,
meta_file
),
input_map
=
input_map
)
saver
.
restore
(
tf
.
get_default_session
(),
os
.
path
.
join
(
model_exp
,
ckpt_file
))
saver
.
restore
(
tf
.
compat
.
v1
.
get_default_session
(),
os
.
path
.
join
(
model_exp
,
ckpt_file
))
def
get_model_filenames
(
model_dir
):
files
=
os
.
listdir
(
model_dir
)
...
...
Please
register
or
login
to post a comment