Skip to content

Commit

Permalink
add shebang to python scripts
Browse files Browse the repository at this point in the history
for executing in the shell without call to python. Follows the example
of @kloudkl .
  • Loading branch information
shelhamer committed Feb 14, 2014
1 parent 73c10a1 commit 4f49004
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/caffe/convert.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python
"""This script converts blobproto instances to numpy arrays.
"""

Expand Down
1 change: 1 addition & 0 deletions python/caffe/detection/detector.py
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
1 change: 1 addition & 0 deletions python/caffe/drawnet.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python
"""Functions to draw a caffe NetParameter protobuffer.
"""

Expand Down
1 change: 1 addition & 0 deletions python/caffe/imagenet/wrapper.py
Original file line number Diff line number Diff line change
@@ -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.
"""
Expand Down

0 comments on commit 4f49004

Please sign in to comment.