Skip to content

Commit

Permalink
update args
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Kostyaev committed Sep 7, 2017
1 parent 5d8bba7 commit 2393416
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions categorize.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
required=True
)
parser.add_argument(
'--result_dir',
'--save_to',
type=str,
help='Path to save categorized data',
required=True
Expand Down Expand Up @@ -94,7 +94,7 @@ def get_features(paths):
return features


if __name__ == 'main':
if __name__ == '__main__':
model = ResNet50(weights='imagenet', include_top=False)
negative_features = np.load('data/neg_f_1000.npy')

Expand Down

0 comments on commit 2393416

Please sign in to comment.