Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
ffm-baseline
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ML
ffm-baseline
Commits
2e142908
Commit
2e142908
authored
Oct 10, 2019
by
高雅喆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
bd2c9b39
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
evaluation_metrics.py
eda/smart_rank/evaluation_metrics.py
+2
-2
No files found.
eda/smart_rank/evaluation_metrics.py
View file @
2e142908
...
...
@@ -174,8 +174,8 @@ if __name__ == '__main__':
all_device_portrait_result
[
device
]
=
portrait_result
# 比较两个tag列表的重合率
cmd_portrait_top_n
=
sys
.
argv
[
1
]
cmd_coincide_n
=
sys
.
argv
[
2
]
cmd_portrait_top_n
=
int
(
sys
.
argv
[
1
])
cmd_coincide_n
=
int
(
sys
.
argv
[
2
])
result
=
get_2_tags_coincide_rate
(
all_device_order_tags
,
all_device_portrait_result
,
cmd_portrait_top_n
,
cmd_coincide_n
)
print
(
"画像的前n个tag:"
,
cmd_portrait_top_n
)
...
...
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