Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Commit

Permalink
Renamed directory where the model is saved.
Browse files Browse the repository at this point in the history
  • Loading branch information
JTKBowers committed Sep 29, 2016
1 parent 2cdaf1d commit dc861da
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hog_cnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def bbox_correct(bbox, example_bboxes):
nn_im_h = 160
with tf.Session() as sess:
model = Model.BooleanModel(sess)
model.load('out/', nn_im_w, nn_im_h)
model.load('saved_model/', nn_im_w, nn_im_h)

image_count = 0
HOG_TP_count = 0
Expand Down
2 changes: 1 addition & 1 deletion test_person_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
confusion_matrices = []
with tf.Session() as sess:
model = Model.BooleanModel(sess)
model.load('out/', nn_im_w, nn_im_h)
model.load('saved_model/', nn_im_w, nn_im_h)

print("Testing...")
test_accuracy, confusion_matrix = model.test(combined_dataset.test.iter_people())
Expand Down
2 changes: 1 addition & 1 deletion train_person_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ def train(self, person_iter):
print("Training...")
model.train(combined_dataset.train.iter_people())

model.save('out/')
model.save('saved_model/')

0 comments on commit dc861da

Please sign in to comment.