Skip to content

Commit

Permalink
[Steph/Angelica] Added parens to print statements in main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
weberswords authored and aperez-tw committed Dec 20, 2017
1 parent 7ceff4d commit 83428a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Empty file added .gitignore
Empty file.
8 changes: 4 additions & 4 deletions svr_plus_tdnn/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@

def main(verbose=False):

print "Extracting features..."
print("Extracting features...")
features = get_image_feature_vector_array()
labels = get_training_label_array()

print "Training regression model..."
print("Training regression model...")
model = RegressionModel(features, labels)
model.fit()
predictions = model.predict()

print "Applying time-delay to regression output..."
print("Applying time-delay to regression output...")
X_train, y_train, X_test, y_test = get_time_delay_training_data(predictions, predictions)

if verbose:
Expand All @@ -23,7 +23,7 @@ def main(verbose=False):
print("X_test: " + str(X_test.shape))
print ("y_test: " + str(y_test.shape))

print "Training TDNN..."
print("Training TDNN...")
tdnn = TDNN(verbose=True)
tdnn.train(X_train, y_train, X_test, y_test)

Expand Down

0 comments on commit 83428a7

Please sign in to comment.