遗传算法
This commit is contained in:
@@ -328,7 +328,7 @@ class ControllerDB:
|
||||
)).scalar()
|
||||
# 控制 n_sample数量 作为后面的参数
|
||||
n_sample = 0 if res is None else res
|
||||
# print(f'There are a total of {n_sample} samples.')
|
||||
print(f'There are a total of {n_sample} samples.')
|
||||
# 查找 is_done_flag = -1 也就是没有运行的 样本 运行后会改为0
|
||||
res = db_session.execute(
|
||||
text(f"SELECT id FROM {self.db_name_prefix}_sample "
|
||||
|
||||
Reference in New Issue
Block a user