I’m working on an AI related POC, since colab gives so much free GPU, I’m trying to run it on Colab, at least validate the POC and then we move it to a server.
A vital part of the project is to use openai DALLE to generate images, If I get the image by URL, I can’t download them, I get this error
409 Public access is not permitted on this storage account.
That error is most likely caused by Azure
If I try to get the image by base64 and then download them
image_data = b64decode(response.data[0].b64_json)
with open(original_img, mode="wb") as jpeg:
jpeg.write(image_data)
Error
The downloaded image has 0 bytes.
Everything is working fine on my PC, but my PC doesn’t have enough power to run the POC, therefore I’m forced to use Colab and the errors only happen on Colab. Any idea why?
This seems to be a networking problem with the Azure servers that OpenAI uses.