Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
strategy_embedding
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rank
strategy_embedding
Commits
0f8d376e
Commit
0f8d376e
authored
Sep 24, 2020
by
赵威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add deps
parent
6d1a412f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
diary_cover_similarity.py
face_similarity/diary_cover_similarity.py
+7
-1
requirements.txt
requirements.txt
+3
-0
No files found.
face_similarity/diary_cover_similarity.py
View file @
0f8d376e
...
...
@@ -6,12 +6,18 @@ import time
import
dlib
import
faiss
import
numpy
as
np
from
gm_rpcd.all
import
bind
from
utils.cache
import
redis_client3
from
utils.es
import
es_query
,
es_scan
from
utils.es
import
es_query
from
utils.images
import
face_to_vec
,
url_to_ndarray
@bind
(
"hello"
)
def
hello
():
return
[
"hello"
,
"world"
]
def
save_diary_image_info
(
save_file
,
face_to_vec_f
):
q
=
{
"query"
:
{
...
...
requirements.txt
View file @
0f8d376e
git+ssh://git@git.wanmeizhensuo.com/backend/gm-rpcd.git@v0.2.5
git+ssh://git@git.wanmeizhensuo.com/system/gm-tracer.git@v0.1.3
git+ssh://git@git.wanmeizhensuo.com/backend/gm-config.git@v0.1.3
git+ssh://git@git.wanmeizhensuo.com/backend/helios.git@v0.7.5
faiss-cpu
==1.6.3
pandas
==1.1.1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment