You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
作者您好,看到源码中限制了任务的数量,必须要大于1,可以修改这里的源码,用于单任务吗 ple源码
` num_tasks = len(task_names)
if num_tasks <= 1:
raise ValueError("num_tasks must be greater than 1")
if len(task_types) != num_tasks:
raise ValueError("num_tasks must be equal to the length of task_types")
for task_type in task_types:
if task_type not in ['binary', 'regression']:
raise ValueError("task must be binary or regression, {} is illegal".format(task_type))
`
The text was updated successfully, but these errors were encountered:
作者您好,看到源码中限制了任务的数量,必须要大于1,可以修改这里的源码,用于单任务吗
ple源码
` num_tasks = len(task_names)
if num_tasks <= 1:
raise ValueError("num_tasks must be greater than 1")
`
The text was updated successfully, but these errors were encountered: