add shebang to python scripts
authorEvan Shelhamer <shelhamer@imaginarynumber.net>
Fri, 14 Feb 2014 23:40:38 +0000 (15:40 -0800)
committerEvan Shelhamer <shelhamer@imaginarynumber.net>
Fri, 14 Feb 2014 23:40:38 +0000 (15:40 -0800)
for executing in the shell without call to python. Follows the example
of @kloudkl .

python/caffe/convert.py
python/caffe/detection/detector.py
python/caffe/drawnet.py
python/caffe/imagenet/wrapper.py

index 4f74bd0..deef657 100644 (file)
@@ -1,3 +1,4 @@
+#!/usr/bin/env python
 """This script converts blobproto instances to numpy arrays.
 """
 
index 05b998b..363124a 100644 (file)
@@ -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.
index 4f94f5d..8ff0d83 100644 (file)
@@ -1,3 +1,4 @@
+#!/usr/bin/env python
 """Functions to draw a caffe NetParameter protobuffer.
 """
 
index b8eaa5c..c29f1ab 100644 (file)
@@ -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.
 """