1
Fork 0
mirror of https://github.com/Steffo99/unimore-bda-6.git synced 2024-11-21 15:34:18 +00:00

did i just fix all ram problems?

This commit is contained in:
Steffo 2023-02-18 03:37:53 +01:00
parent 61141248db
commit 1d6180f736
Signed by: steffo
GPG key ID: 2A24051445686895
2 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
#!/usr/bin/env bash
repo=$(git rev-parse --show-toplevel)
mongod --dbpath "$repo/data/db"
mongod --dbpath "$repo/data/db" --wiredTigerCacheSizeGB 2

View file

@ -41,9 +41,9 @@ def main():
for SentimentAnalyzer in [
# ThreeCheat,
NLTKSentimentAnalyzer,
TensorflowPolarSentimentAnalyzer,
TensorflowCategorySentimentAnalyzer,
NLTKSentimentAnalyzer,
]:
slog = logging.getLogger(f"{__name__}.{sample_func.__name__}.{SentimentAnalyzer.__name__}")
@ -116,7 +116,7 @@ def main():
cumulative_evaluation_results += evaluation_results
break
finally:
datasets_cm.__exit__()
datasets_cm.__exit__(None, None, None)
slog.info("Cumulative evaluation results: %s", cumulative_evaluation_results)