Jan Mühlnikel
commited on
Commit
·
d36de30
1
Parent(s):
fd3d847
test
Browse files- similarity_page.py +3 -1
similarity_page.py
CHANGED
@@ -17,13 +17,15 @@ from functions.filter_single import filter_single
|
|
17 |
from functions.calc_matches import calc_matches
|
18 |
from functions.same_country_filter import same_country_filter
|
19 |
from functions.single_similar import find_similar
|
20 |
-
import psutil
|
21 |
import os
|
22 |
import gc
|
23 |
|
|
|
24 |
def get_process_memory():
|
25 |
process = psutil.Process(os.getpid())
|
26 |
return process.memory_info().rss / (1024 * 1024)
|
|
|
27 |
|
28 |
# Catch DATA
|
29 |
# Load Similarity matrix
|
|
|
17 |
from functions.calc_matches import calc_matches
|
18 |
from functions.same_country_filter import same_country_filter
|
19 |
from functions.single_similar import find_similar
|
20 |
+
#import psutil
|
21 |
import os
|
22 |
import gc
|
23 |
|
24 |
+
"""
|
25 |
def get_process_memory():
|
26 |
process = psutil.Process(os.getpid())
|
27 |
return process.memory_info().rss / (1024 * 1024)
|
28 |
+
"""
|
29 |
|
30 |
# Catch DATA
|
31 |
# Load Similarity matrix
|