The project exists and I am properly signed into wandb. Error:
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
File ~/.local/lib/python3.10/site-packages/wandb/apis/normalize.py:41, in normalize_exceptions.<locals>.wrapper(*args, **kwargs)
40 try:
---> 41 return func(*args, **kwargs)
42 except requests.HTTPError as error:
File ~/.local/lib/python3.10/site-packages/wandb/apis/public/api.py:1034, in Api.artifact(self, name, type)
1033 entity, project, artifact_name = self._parse_artifact_path(name)
-> 1034 artifact = wandb.Artifact._from_name(
1035 entity, project, artifact_name, self.client
1036 )
1037 if type is not None and artifact.type != type:
File ~/.local/lib/python3.10/site-packages/wandb/sdk/artifacts/artifact.py:268, in Artifact._from_name(cls, entity, project, name, client)
267 if not project_attrs:
--> 268 raise ValueError(f"project '{project}' not found under entity '{entity}'")
269 attrs = project_attrs.get("artifact")
ValueError: project 'amphx_scATAC' not found under entity 'grelu'
During handling of the above exception, another exception occurred:
CommError Traceback (most recent call last)
Cell In[4], line 2
1 api = wandb.Api()
----> 2 artifact = api.artifact('grelu/amphx_scATAC/model_amphx_scATAC_depth1:latest')
File ~/.local/lib/python3.10/site-packages/wandb/apis/normalize.py:87, in normalize_exceptions.<locals>.wrapper(*args, **kwargs)
85 raise
86 else:
---> 87 raise CommError(message, err).with_traceback(sys.exc_info()[2])
File ~/.local/lib/python3.10/site-packages/wandb/apis/normalize.py:41, in normalize_exceptions.<locals>.wrapper(*args, **kwargs)
39 message = "Whoa, you found a bug."
40 try:
---> 41 return func(*args, **kwargs)
42 except requests.HTTPError as error:
43 errors = parse_backend_error_messages(error.response)
File ~/.local/lib/python3.10/site-packages/wandb/apis/public/api.py:1034, in Api.artifact(self, name, type)
1032 raise ValueError("You must specify name= to fetch an artifact.")
1033 entity, project, artifact_name = self._parse_artifact_path(name)
-> 1034 artifact = wandb.Artifact._from_name(
1035 entity, project, artifact_name, self.client
1036 )
1037 if type is not None and artifact.type != type:
1038 raise ValueError(
1039 f"type {type} specified but this artifact is of type {artifact.type}"
1040 )
File ~/.local/lib/python3.10/site-packages/wandb/sdk/artifacts/artifact.py:268, in Artifact._from_name(cls, entity, project, name, client)
266 project_attrs = response.get("project")
267 if not project_attrs:
--> 268 raise ValueError(f"project '{project}' not found under entity '{entity}'")
269 attrs = project_attrs.get("artifact")
270 if not attrs:
CommError: project 'amphx_scATAC' not found under entity 'grelu'
Successful workaround accessing with API:
api = wandb.Api()
artifact = api.artifact('grelu/amphx_scATAC/model_amphx_scATAC_depth1:latest')
Hi, following up on the issue I had downloading my model. Example:
The project exists and I am properly signed into wandb. Error:
Successful workaround accessing with API: