mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-27 15:37:44 +00:00
fix bugs (#560)
This commit is contained in:
@@ -7,6 +7,7 @@ import fire
|
||||
import pandas as pd
|
||||
|
||||
from rdagent.app.data_science.conf import DS_RD_SETTING
|
||||
from rdagent.core.proposal import ExperimentFeedback
|
||||
from rdagent.log.storage import FileStorage
|
||||
from rdagent.scenarios.data_science.experiment.experiment import DSExperiment
|
||||
from rdagent.utils.env import DockerEnv, MLEBDockerConf
|
||||
@@ -106,7 +107,7 @@ def summarize_folder(log_folder: Path):
|
||||
gold_num += 1
|
||||
|
||||
if "feedback" in msg.tag and "evolving" not in msg.tag:
|
||||
if bool(msg.content):
|
||||
if isinstance(msg.content, ExperimentFeedback) and bool(msg.content):
|
||||
success_loop_num += 1
|
||||
|
||||
stat[log_trace_path.name].update(
|
||||
|
||||
@@ -63,7 +63,7 @@ def load_data(log_path):
|
||||
state.data[li][fn] = msg.content
|
||||
|
||||
|
||||
@st.cache_data
|
||||
# @st.cache_data
|
||||
def get_folders_sorted(log_path):
|
||||
"""缓存并返回排序后的文件夹列表,并加入进度打印"""
|
||||
with st.spinner("正在加载文件夹列表..."):
|
||||
|
||||
Reference in New Issue
Block a user