Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hpvm-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
llvm
hpvm-release
Commits
88ed4913
Commit
88ed4913
authored
5 years ago
by
hashimsharif
Browse files
Options
Downloads
Patches
Plain Diff
Adding AlexNet Imagenet times
parent
308eaa0c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
llvm/projects/hpvm-tensor-rt/bin/time_jetson_profiles.py
+14
-3
14 additions, 3 deletions
llvm/projects/hpvm-tensor-rt/bin/time_jetson_profiles.py
with
14 additions
and
3 deletions
llvm/projects/hpvm-tensor-rt/bin/time_jetson_profiles.py
+
14
−
3
View file @
88ed4913
...
...
@@ -15,7 +15,7 @@ class Benchmark:
ResNet50
=
Benchmark
()
ResNet50
.
binary_path
=
"
resnet_imagenet
"
#ResNet50.binary_time = 5.1 * 60 # 5.1 mins * 60 secs/min
ResNet50
.
binary_time
=
3.85
*
100
# 5
.1 mins * 60 secs/min
ResNet50
.
binary_time
=
3.85
*
100
# 5
0 images * 100 batches
ResNet50
.
batch_time
=
3.85
# Time for batch with 50 images
ResNet50
.
num_layers
=
53
...
...
@@ -23,11 +23,17 @@ ResNet50.num_layers = 53
VGG16_ImageNet
=
Benchmark
()
VGG16_ImageNet
.
binary_path
=
"
vgg16_imagenet
"
#VGG16_ImageNet.binary_time = 10.6 * 60 # 5.1 mins * 60 secs/min
VGG16_ImageNet
.
binary_time
=
4.55
*
100
# 5
.1 mins * 60 secs/min
VGG16_ImageNet
.
binary_time
=
4.55
*
100
# 5
0 images * 100 batches
VGG16_ImageNet
.
batch_time
=
4.55
VGG16_ImageNet
.
num_layers
=
16
AlexNet_ImageNet
=
Benchmark
()
AlexNet_ImageNet
.
binary_path
=
"
alexnet_imagenet
"
AlexNet_ImageNet
.
binary_time
=
0.66
*
100
AlexNet_ImageNet
.
batch_time
=
0.66
AlexNet_ImageNet
.
num_layers
=
8
...
...
@@ -97,4 +103,9 @@ if __name__ == "__main__":
vgg16_img_time
=
getTimeOnEdge
(
VGG16_ImageNet
)
print
(
"
*** VGG16 time (mins) =
"
,
vgg16_img_time
)
print
(
"
*** VGG16-Imagenet time (mins) =
"
,
vgg16_img_time
)
alexnet_img_time
=
getTimeOnEdge
(
AlexNet_ImageNet
)
print
(
"
*** AlexNet-Imagenet time (mins) =
"
,
alexnet_img_time
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment