Spaces:
Running
Running
Commit
·
41e2dcf
1
Parent(s):
0b88271
Print timestamp for debug
Browse files- common/utils.py +3 -0
common/utils.py
CHANGED
@@ -39,6 +39,8 @@ def get_feature_model(conf):
|
|
39 |
|
40 |
|
41 |
def gen_examples():
|
|
|
|
|
42 |
random.seed(1)
|
43 |
example_matchers = [
|
44 |
"gim",
|
@@ -89,6 +91,7 @@ def gen_examples():
|
|
89 |
ransac_max_iter,
|
90 |
]
|
91 |
)
|
|
|
92 |
return input_lists
|
93 |
|
94 |
|
|
|
39 |
|
40 |
|
41 |
def gen_examples():
|
42 |
+
import datetime
|
43 |
+
print(datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S"), 'gen_examples start')
|
44 |
random.seed(1)
|
45 |
example_matchers = [
|
46 |
"gim",
|
|
|
91 |
ransac_max_iter,
|
92 |
]
|
93 |
)
|
94 |
+
print(datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S"), 'gen_examples end')
|
95 |
return input_lists
|
96 |
|
97 |
|