dalle-playground icon indicating copy to clipboard operation
dalle-playground copied to clipboard

WandB HTTP 404 error

Open TeakKey7 opened this issue 2 years ago • 4 comments

\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 avatar Jun 20 '22 17:06 TeakKey7

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

TeakKey7 avatar Jun 20 '22 17:06 TeakKey7

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

saharmor avatar Jun 23 '22 04:06 saharmor

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 avatar Jun 23 '22 04:06 TeakKey7

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 avatar Jun 23 '22 05:06 TeakKey7