Skip to content

Commit

Permalink
no need for main
Browse files Browse the repository at this point in the history
Former-commit-id: 9328c00070d1c515d80e42fc709873dba8c35c2d
  • Loading branch information
Javi Ribera committed Mar 19, 2018
1 parent f945bde commit 60a5172
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions object-locator/locate.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@
from .eval_precision_recall import Judge


if __name__ != '__main__':
print("E: This script must be called from command line")
exit(1)

# Parse command line arguments
args = argparser.parse_command_args('testing')

Expand Down
4 changes: 0 additions & 4 deletions object-locator/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@
from . import argparser


if __name__ != '__main__':
print("E: This script must be called from command line")
exit(1)

# Parse command line arguments
args = argparser.parse_command_args('training')

Expand Down

0 comments on commit 60a5172

Please sign in to comment.