Jan Mühlnikel
commited on
Commit
·
6e9b7d1
1
Parent(s):
f9d8a22
check
Browse files- similarity_page.py +2 -0
similarity_page.py
CHANGED
@@ -21,9 +21,11 @@ from functions.single_similar import find_similar
|
|
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
|
|
|
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
|