问题描述
请帮助我!!! 此数据
从azureml导入工作区
ws = Workspace()
实验= ws.experiments ['bc32e2d9f65c4ebe87ac31b546de0832.f-id.8b526115007848868251c64c0dbebe6a']
ds = Experiment.get_intermediate_dataset(
node_id ='e99badf1-4d8c-4705-9689-27df305c59bd-319',
port_name ='结果数据集',
data_type_id ='GenericCSV'
)
frame = ds.to_dataframe()
框架
当我运行jupyter时,出现这些错误-------------------------------------------------- -------------------------
ValueError 追溯(最近一次拨打电话)
< ipython-input-1-e28ce80af30f>在< module>()
中 azureml导入工作区中的1个
----> 2 ws = Workspace()
3个实验= ws.experiments ['bc32e2d9f65c4ebe87ac31b546de0832.f-id.8b526115007848868251c64c0dbebe6a']
4 ds = Experiment.get_intermediate_dataset(
5 node_id ='e99badf1-4d8c-4705-9689-27df305c59bd-319',
/home/nbuser/anaconda3_23/lib/python3.4/site-packages/azureml/__init__.py in __init __(自身,workspace_id,authorization_token,端点)
883 endpoint = https://studio.azureml.net
884 ""
-> 885 workspace_id,authorization_token,端点,management_endpoint = _get_workspace_info(workspace_id,authorization_token,端点,无)
886
887 _not_none_or_empty('workspace_id',workspace_id)
_get_workspace_info中的/home/nbuser/anaconda3_23/lib/python3.4/site-packages/azureml/__init__.py(workspace_id、authorization_token,端点,management_endpoint)
849
850 如果workspace_id为None:
-> 851 raise ValueError('workspace_id未提供,并且无法通过config'获得)
852 如果authorization_token为None:
853 raise ValueError('authorization_token未提供,并且无法通过配置获得')
ValueError:没有提供workspace_id,并且无法通过配置使用
Help me please !!! this data
from azureml import Workspace
ws = Workspace()
experiment = ws.experiments['bc32e2d9f65c4ebe87ac31b546de0832.f-id.8b526115007848868251c64c0dbebe6a']
ds = experiment.get_intermediate_dataset(
node_id='e99badf1-4d8c-4705-9689-27df305c59bd-319',
port_name='Results dataset',
data_type_id='GenericCSV'
)
frame = ds.to_dataframe()
frame
when i run jupyter , I get these errors
---------------------------------------------------------------------------ValueError Traceback (most recent call last)
<ipython-input-1-e28ce80af30f> in <module>()
1 from azureml import Workspace
----> 2 ws = Workspace()
3 experiment = ws.experiments['bc32e2d9f65c4ebe87ac31b546de0832.f-id.8b526115007848868251c64c0dbebe6a']
4 ds = experiment.get_intermediate_dataset(
5 node_id='e99badf1-4d8c-4705-9689-27df305c59bd-319',
/home/nbuser/anaconda3_23/lib/python3.4/site-packages/azureml/__init__.py in __init__(self, workspace_id, authorization_token, endpoint)
883 endpoint = https://studio.azureml.net
884 """
--> 885 workspace_id, authorization_token, endpoint, management_endpoint = _get_workspace_info(workspace_id, authorization_token, endpoint, None)
886
887 _not_none_or_empty('workspace_id', workspace_id)
/home/nbuser/anaconda3_23/lib/python3.4/site-packages/azureml/__init__.py in _get_workspace_info(workspace_id, authorization_token, endpoint, management_endpoint)
849
850 if workspace_id is None:
--> 851 raise ValueError('workspace_id not provided and not available via config')
852 if authorization_token is None:
853 raise ValueError('authorization_token not provided and not available via config')
ValueError: workspace_id not provided and not available via config
这篇关于ValueError:没有提供workspace_id,并且无法通过配置使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!