我是azure的新手,我正在创建一个简单的hellow world管道。下面是我创建任务的方法。
data_import_step = PythonScriptStep(
script_name="Data_Load_Preprocessing.py",
arguments=['--process_output',data_step_output],
allow_reuse=False,
outputs=[data_step_output],
runconfig=RunConfiguration(),
compute_target=aml_compute,
source_directory=process_directory
)
我是这样声明aml_compute的。
aml_compute = AmlCompute(ws, clustername)
并像这样获得工作空间
ws = Workspace.from_config(path="./config.json", auth=interactive_auth)
and data_load_preprocessing.py看起来像这样。
def main():
print("hellow world")
if __name__ == '__main__':
main()
我得到以下错误:服务调用失败!请求。GET .... 状态代码。400 BadRequest 错误代码。原因短语:错误的请求
在此阅读更多信息:https://stackoverflow.com/questions/68799689/400-bad-request-when-running-the-pipeline
内容归属
本内容最初由hannah montanna发表在Recent Questions - Stack Overflow上,并通过他们的RSS feed在此聚合。你可以在那里阅读原帖。