Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
onnx_model
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
武继龙
onnx_model
Commits
6a09db2a
Commit
6a09db2a
authored
Jul 19, 2019
by
wangpeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
外部添加依赖文件
parent
a68b5c32
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
main.py
onnx_infer/main.py
+2
-4
setup.py
setup.py
+3
-4
No files found.
onnx_infer/main.py
View file @
6a09db2a
...
...
@@ -56,11 +56,9 @@ class Main:
return
color
,
bbox
,
category
# main test
colorOnnx_path
=
'color.onnx'
yoloOnnx_path
=
'yolo3.onnx'
# # main test
def
get_result
(
image_arr
):
def
get_result
(
colorOnnx_path
,
yoloOnnx_path
,
image_arr
):
m
=
Main
(
colorOnnx_path
,
yoloOnnx_path
,
image_arr
)
color
,
bbox
,
category
=
m
.
colorAndbboxAndcategory
()
return
color
,
bbox
,
category
...
...
setup.py
View file @
6a09db2a
...
...
@@ -21,9 +21,9 @@ setup(
download_url
=
'https://github.com/Your github username/mxnet_insight/tarball/'
+
__version__
,
license
=
'BSD'
,
classifiers
=
[
'Development Status :: 3 - Alpha'
,
'Intended Audience :: Developers'
,
'Programming Language :: Python :: 3'
,
'Development Status :: 3 - Alpha'
,
'Intended Audience :: Developers'
,
'Programming Language :: Python :: 3'
,
],
keywords
=
''
,
packages
=
[
'onnx_infer'
],
...
...
@@ -33,4 +33,3 @@ setup(
dependency_links
=
dependency_links
,
author_email
=
'Your address email (eq. you@example.com)'
)
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