From: Evan Shelhamer Date: Fri, 14 Feb 2014 23:40:38 +0000 (-0800) Subject: add shebang to python scripts X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4f49004c28ae05d24e96183628eb6774b9ad2e72;p=platform%2Fupstream%2Fcaffe.git add shebang to python scripts for executing in the shell without call to python. Follows the example of @kloudkl . --- diff --git a/python/caffe/convert.py b/python/caffe/convert.py index 4f74bd0..deef657 100644 --- a/python/caffe/convert.py +++ b/python/caffe/convert.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python """This script converts blobproto instances to numpy arrays. """ diff --git a/python/caffe/detection/detector.py b/python/caffe/detection/detector.py index 05b998b..363124a 100644 --- a/python/caffe/detection/detector.py +++ b/python/caffe/detection/detector.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python """ Do windowed detection by classifying a number of images/crops at once, optionally using the selective search window proposal method. diff --git a/python/caffe/drawnet.py b/python/caffe/drawnet.py index 4f94f5d..8ff0d83 100644 --- a/python/caffe/drawnet.py +++ b/python/caffe/drawnet.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python """Functions to draw a caffe NetParameter protobuffer. """ diff --git a/python/caffe/imagenet/wrapper.py b/python/caffe/imagenet/wrapper.py index b8eaa5c..c29f1ab 100644 --- a/python/caffe/imagenet/wrapper.py +++ b/python/caffe/imagenet/wrapper.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python """wrapper.py implements an end-to-end wrapper that classifies an image read from disk, using the imagenet classifier. """