mirror of
https://github.com/Steffo99/unimore-bda-6.git
synced 2024-11-21 23:44:19 +00:00
did i just fix all ram problems?
This commit is contained in:
parent
61141248db
commit
1d6180f736
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue