From 942e35c5229f79ea2c6ae113731692eaff2b76b2 Mon Sep 17 00:00:00 2001 From: Zoltan Date: Mon, 8 Jul 2024 19:33:12 -0400 Subject: [PATCH] update reqs and use of np.inf ci:execute --- projects/NaturalLanguageProcessing/sentiment_analysis.ipynb | 2 +- requirements.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/projects/NaturalLanguageProcessing/sentiment_analysis.ipynb b/projects/NaturalLanguageProcessing/sentiment_analysis.ipynb index 87c305bde..70b008cb9 100644 --- a/projects/NaturalLanguageProcessing/sentiment_analysis.ipynb +++ b/projects/NaturalLanguageProcessing/sentiment_analysis.ipynb @@ -1504,7 +1504,7 @@ "clip = 5\n", "\n", "# Initial Loss value (assumed big)\n", - "valid_loss_min = np.Inf\n", + "valid_loss_min = np.inf\n", "\n", "# Lists to follow the evolution of the loss and accuracy\n", "epoch_tr_loss,epoch_vl_loss = [],[]\n", diff --git a/requirements.txt b/requirements.txt index 4b78c17c3..b8d8390a9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,3 +11,5 @@ pathlib xkcd decorator==5.0.9 pyvirtualdisplay +tensorboard +moviepy