Deprecated: Automatic conversion of false to array is deprecated in /home/u164338858/domains/areyoupop.com/public_html/wp-content/plugins/gs-facebook-comments/public/class-wpfc-public.php on line 258
Published On: February 10th, 2023Categories: AI News

Photo by Jonathan Kemper on Unsplash

Like many, I’ve found myself enthralled with OpenAI’s ChatGPT and have used it for a wide variety of activities. From serious tasks like debugging code, to creative applications like writing poetry and short stories, it’s been fun to explore what ChatGPT can do. At the same time, it’s also been enlightening to look at its shortcomings. Being a language model, it cannot generate direct images like Midjourney AI or DALL-E can, as it was not trained on a large body of images, but rather text. However, when you consider that mathematically speaking, images are just 2D (or 3D in the case of colored images, i.e., RGB) arrays, you could have it write code to generate images. Thus, I asked ChatGPT to generate arrays corresponding to images.

Image by Author

With no modifications, I copied and pasted this code into Jupyter…

Source link

Writing Code to Produce Images with ChatGPT | by Jamshaid Shahir | Fe…
Jamshaid Shahir
2023-02-10 22:24:05
Towards Data Science – Medium

https://areyoupop.com/wp-content/uploads/Writing-Code-to-Produce-Images-with-ChatGPT-by-Jamshaid.jpeg[rule_{ruleNumber}] [rule_{ruleNumber}_plain] , ,

towardsdatascience.com
https%3A%2F%2Ftowardsdatascience.com%2Fimage-generation-with-chatgpt-68c98a061bec%3Fsource%3Drss—-7f60cf5620c9—4
python,chatbots,chatgpt,ai,image-generation
hashtags : #Writing #Code #Produce #Images #ChatGPT #Jamshaid #Shahir #Fe..

Leave A Comment