Commit 52eb9152 authored by 赵威's avatar 赵威

try predict

parent b9e714be
...@@ -10,7 +10,7 @@ def predict_with_city_changed(device_dict, diary_dict, tractate_dict, diary_pred ...@@ -10,7 +10,7 @@ def predict_with_city_changed(device_dict, diary_dict, tractate_dict, diary_pred
try: try:
total = redis_client4.llen(key) total = redis_client4.llen(key)
while (total > 0): if (total > 0):
device_id = redis_client4.lpop(key) device_id = redis_client4.lpop(key)
device_id = str(device_id, "utf-8") device_id = str(device_id, "utf-8")
print(device_id) print(device_id)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment