Skip to content

Commit

Permalink
Model Path
Browse files Browse the repository at this point in the history
  • Loading branch information
jcollopy-tulane committed Apr 29, 2024
1 parent be3ebd2 commit e4199c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nlp/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ def train_cnn():
test_df = pd.read_csv(config.get('data', 'file3'))

dir_path = os.path.dirname(os.path.realpath(__file__))
model_path = '/Users/jackiecollopy/Downloads/project-reddit/nlp/cnn_model.h5'
try:
model = keras.models.load_model(model_path, compile=False)
except Exception as e:
Expand Down

0 comments on commit e4199c6

Please sign in to comment.