Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WandB HTTP 404 error #89

Open
TeakKey7 opened this issue Jun 20, 2022 · 4 comments
Open

WandB HTTP 404 error #89

TeakKey7 opened this issue Jun 20, 2022 · 4 comments

Comments

@TeakKey7
Copy link

\Python310\site-packages\requests\models.py", line 1022, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://api.wandb.ai/graphql

During handling of the above exception, another exception occurred:
wandb.errors.CommError: Permission denied to access anony-mouse-327149/uncategorized/1gdhrgr6

@TeakKey7
Copy link
Author

TeakKey7 commented Jun 20, 2022

full traceback:
Traceback (most recent call last):
File "C:\Users-\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\wandb\sdk\lib\retry.py", line 102, in call
result = self._call_fn(*args, **kwargs)
File "C:\Users-\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\wandb\sdk\internal\internal_api.py", line 140, in execute
return self.client.execute(*args, **kwargs)
File "C:\Users-\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\wandb\vendor\gql-0.2.0\wandb_gql\client.py", line 52, in execute
result = self._get_result(document, *args, **kwargs)
File "C:\Users-\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\wandb\vendor\gql-0.2.0\wandb_gql\client.py", line 60, in _get_result
return self.transport.execute(document, *args, **kwargs)
File "C:\Users-\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\wandb\vendor\gql-0.2.0\wandb_gql\transport\requests.py", line 39, in execute
request.raise_for_status()
File "C:\Users-\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\requests\models.py", line 1022, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://api.wandb.ai/graphql

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users-\Downloads\dalle-playground-main\backend\app.py", line 60, in
dalle_model = DalleModel(args.model_version)
File "C:\Users-\Downloads\dalle-playground-main\backend\dalle_model.py", line 61, in init
self.model, params = DalleBart.from_pretrained(
File "C:\Users-\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\dalle_mini\model\utils.py", line 20, in from_pretrained
artifact = wandb.run.use_artifact(pretrained_model_name_or_path)
File "C:\Users-\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\wandb\sdk\wandb_run.py", line 222, in wrapper
return func(self, *args, **kwargs)
File "C:\Users-\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\wandb\sdk\wandb_run.py", line 2329, in use_artifact
api.use_artifact(
File "C:\Users-\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\wandb\apis\internal.py", line 129, in use_artifact
return self.api.use_artifact(*args, **kwargs)
File "C:\Users-\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\wandb\sdk\internal\internal_api.py", line 2181, in use_artifact
response = self.gql(
File "C:\Users-\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\wandb\sdk\lib\retry.py", line 118, in call
if not check_retry_fn(e):
File "C:\Users-\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\wandb\util.py", line 885, in no_retry_auth
raise CommError(f"Permission denied to access {wandb.run.path}")
wandb.errors.CommError: Permission denied to access anony-mouse-327149/uncategorized/1gdhrgr6

fair warning, I'm a complete noob with python. I don't want to run this in WSL since I want full access/performance from my GPU/TPU on my 3080

@saharmor
Copy link
Owner

Did you change anything in the code prior to running it? Regardless, this error seems to be related to wandb.

@TeakKey7
Copy link
Author

It was an issue with the auto generated anonymous profile so I disabled it and it fixed it, but I had issues with other dependancies so I went with WSL like people were saying and its alot better, I just need to fix CUDA now, but it works on CPU fine (very slowly)

@TeakKey7
Copy link
Author

misclicked, the issue is still unresolved but I made a workaround. It involved wandb anonymous is MUST. I deleted it and it fixed the issue, but my DALLE is still broken on Windows but I dont really care honestly since wsl is fine

@TeakKey7 TeakKey7 reopened this Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants