Skip to content
Snippets Groups Projects
Commit 88ed4913 authored by hashimsharif's avatar hashimsharif
Browse files

Adding AlexNet Imagenet times

parent 308eaa0c
No related branches found
No related tags found
No related merge requests found
......@@ -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 # 50 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 # 50 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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment