高精模判断
This commit is contained in:
1 parent
10640a63c2
commit
e83deda268
1 file changed
+7
-8
+7
-8
@@ -29,14 +29,13 @@ def task_need_high_model(pid):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
#判断是否需要高精模
|
#判断是否需要高精模
|
||||||
if libs.get_ps_type(pid) == 1:
|
if libs.aliyun_face(pid):
|
||||||
if libs.aliyun_face(pid):
|
#calulate_type = 'calculateHighModel'
|
||||||
#calulate_type = 'calculateHighModel'
|
redis_conn.sadd("calculateHighModel",pid)
|
||||||
redis_conn.sadd("calculateHighModel",pid)
|
return True
|
||||||
return True
|
else:
|
||||||
else:
|
redis_conn.sadd("calculateHighModel_no",pid)
|
||||||
redis_conn.sadd("calculateHighModel_no",pid)
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
#判断是否需要photo3参与建模
|
#判断是否需要photo3参与建模
|
||||||
|
|||||||
Reference in new issue
Block a user