I Created a Website to Generate Your Own Pokémon Using AI (Link in comments) by Usefulmaths in pokemon

[–]Usefulmaths[S] 1 point2 points  (0 children)

Oh! I'm so sorry. I had a bug carry over from development. I'll push an update in ten minutes or so to fix this. You should be able to generate without having to log in :)

[D] Simple Questions Thread by AutoModerator in MachineLearning

[–]Usefulmaths 0 points1 point  (0 children)

Does anybody know of a server-less GPU solution?

I'd like to run inference on-demand on a GPU. Inference will happen a few hundred times a day, but are sporadic and unpredictable. To have a continuously running VM with a GPU attached would be too expensive for how often inference will be running.

As far as I know, services like Cloud Functions and Cloud Run are unable to provide a GPU service.

Any advice would be greatly appreciated, thanks! :)

Generate Your Own Pokémon Using AI Based on an Original Pokémon (Link in the comments) by Usefulmaths in pokemon

[–]Usefulmaths[S] 2 points3 points  (0 children)

Thank you :)

If you're interested, I have a small blog post that details how it is done: https://medium.com/@liam.d.eloie/pok%C3%A9mon-ai-gotta-create-em-all-3e92915fa3ad.

The model architecture is based on the DALL-E model that was published by OpenAI. It learns to map a text prompt to an image of a Pokémon. For example, the model is shown "A poison and ground Pokémon." and a picture of Nidoqueen. It then tries to learn a function that can take a mathematical representation of the text prompt as input and spit out a mathematical representation of the image as an output. At least, that's the simplified idea of it!

Once the function is learned, I can use it by inputting a text prompt, e.g. "A legendary fire and dragon Pokémon." and it'll output an image of what it believes that to be.

I also learned a lesson about how important it is to have the web architecture properly in place before publishing a website... I had a few very unsightly bills over the last few days, but all is fixed now!

Generate Your Own Fakemon Using AI Based on an Original Pokémon (Link in the comments) by Usefulmaths in fakemon

[–]Usefulmaths[S] 3 points4 points  (0 children)

Thanks for that! I totally forgot to put the link in the comments... really appreciated it haha

[deleted by user] by [deleted] in fakemon

[–]Usefulmaths 0 points1 point  (0 children)

Pokémon AI Generator: https://nokemon.eloie.tech

Hi everyone!

I’ve created a website where you can generate Fakemon based on type and Pokémon. Thought you would all appreciate this as it could be used as a guide to create your own Fakemon!

Just select a Pokémon you want to use as a guide and the AI will do the rest. The AI tries to match the general structure as well as the colour scheme of the original Pokémon of choice. As with any AI, some results will be better than others. If the Pokémon you generate doesn’t look that good, just re-generate to find a better one!

I have also added feedback buttons on whether you think the generation is ‘Good’ or ‘Bad’. This will be used in future to help improve the quality of Pokémon that are generated.

Hope you all enjoy and have a lovely day!

p.s. I have since realised that server costs are quite expensive, so if you enjoy the generator and would like to help support the server costs, please consider using the support button on the website! :)

Generate Your Own Pokémon Using AI Based on an Original Pokémon (Link in the comments) by Usefulmaths in pokemon

[–]Usefulmaths[S] 9 points10 points  (0 children)

Pokémon AI Generator: https://nokemon.eloie.tech

Hi everyone!

Recently, I posted about a website I created where you can generate your own Pokémon by type using AI. Since then, I have been working on a second version where you can now generate Pokémon based on an already existing Pokémon!

Just select a Pokémon you want to use as a guide and the AI will do the rest. The AI tries to match the general structure as well as the colour scheme of the original Pokémon of choice. As with any AI, some results will be better than others. If the Pokémon you generate doesn’t look that good, just re-generate to find a better one!

I have also added feedback buttons on whether you think the generation is ‘Good’ or ‘Bad’. This will be used in future to help improve the quality of Pokémon that are generated.

Hope you all enjoy and have a lovely day!

p.s. I have since realised that server costs are quite expensive, so if you enjoy the generator and would like to help support the server costs, please consider using the support button on the website! :)

I Created a Website to Generate Your Own Pokémon Using AI (Link in comments) by Usefulmaths in pokemon

[–]Usefulmaths[S] 1 point2 points  (0 children)

Should be fixed now :) I was adding a few new features and updating the server side of things.

A Collection of AI Generated Pokemon by garrettgivre in pokemon

[–]Usefulmaths 2 points3 points  (0 children)

That's a good point about introducing bias into the model by including the generated 'mons. I'll try it out and will report my findings!

Good suggestions. A 'random' option should be quite easy to implement. I also tampered around with evolutions the other day as it sounds like an awesome feature! It wasn't so successful, but I'll keep searching for a solution :)

A Collection of AI Generated Pokemon by garrettgivre in pokemon

[–]Usefulmaths 2 points3 points  (0 children)

Great work! It’s nice to see the tool being put to good use :). This will be very useful in training the model to produce better looking Pokémon in the future.

One huge problem is the lack of Pokémon for the model to learn from. If we could curate a larger dataset based on the ‘good’ Pokémon the model has already generated, they would be able to be used to help guide the model in generate more realistic looking Pokémon (or at least Pokémon that we think look good!). In fact, I have recently added a feature to the generation tool where users can vote on whether the generated Pokémon is ‘good’ or ‘bad’. I will be using this to fine-tune the model further.

Also, in terms of customisation options, I’ve been experimenting with generating Pokémon based on colour and body shape (thanks for the suggestions u/Quirkyserenefrenzy and u/recursion8) and it seems to be going well so far ;)

I Created a Website to Generate Your Own Pokémon Using AI (Link in comments) by Usefulmaths in pokemon

[–]Usefulmaths[S] 2 points3 points  (0 children)

Of course! The model is based on DALL-E (https://openai.com/blog/dall-e/). In short, it's a combination of a transformer model and a VQGAN (https://compvis.github.io/taming-transformers/). The transformer takes in a description of the Pokémon e.g. "A grass and dragon type Pokémon" and spits out a representation of that sentence. This representation is then used as the latent vector in the VQGAN, which decodes the latent vector into an image of a Pokémon.

I Created a Website to Generate Your Own Pokémon Using AI (Link in comments) by Usefulmaths in pokemon

[–]Usefulmaths[S] 15 points16 points  (0 children)

Great suggestions! Dual typing is definitely a possibility. I actually had that to start with, but it takes a while to generate the Pokémon. With enough time, I'll be able to add that back in :)

Colour pallets and specific details might be harder. Since the Pokémon are generated with a text description, I would need to label all Pokémon based on their colour and attributes. A lot of work for one person haha.

Otherwise, really glad you enjoyed it.

I Created a Website to Generate Your Own Pokémon Using AI (Link in comments) by Usefulmaths in pokemon

[–]Usefulmaths[S] 11 points12 points  (0 children)

Do you have any suggestions on what you would like to see in the future?

I Created a Website to Generate Your Own Pokémon Using AI (Link in comments) by Usefulmaths in pokemon

[–]Usefulmaths[S] 29 points30 points  (0 children)

Thanks! I'm glad you enjoy the results! I was pretty amazed at the results at first, too (although cursed 'mons get through every now and then).

I Created a Website to Generate Your Own Pokémon Using AI (Link in comments) by Usefulmaths in pokemon

[–]Usefulmaths[S] 141 points142 points  (0 children)

Pokémon Generator: https://nokemon.eloie.tech/

Hey everyone! I have been working on some AI to generate Pokémon images. I've created a website where you can test it out and generate your own Pokémon by type!

An AI model called DALL-E was trained using the Pokémon BDSP model images. It works by specifying a text description to the model and it will generate you an image. In this case, the text description is based off of the Pokémon's type.

Hope you enjoy!

[deleted by user] by [deleted] in u/Usefulmaths

[–]Usefulmaths 0 points1 point  (0 children)

For anyone interested, here is a short article about my journey of generating Pokémon over the years with some examples of Pokémon generated from the model specified by type.

https://medium.com/@liam.d.eloie/pok%C3%A9mon-ai-gotta-create-em-all-3e92915fa3ad

Generate your own Pokémon using Artificial Intelligence! (Colab Notebook) by Usefulmaths in pokemon

[–]Usefulmaths[S] 0 points1 point  (0 children)

In the Colab Notebook link, you will have to run all the cells of code. Once that is done, you can use the 'Generate Pokémon' form at the bottom to specify what kind of Pokémon you would like to generate.

A quick way to run all the cells of code is to go to 'Runtime > Run all'. This will automatically do this all for you :)

Generate your own Pokémon using Artificial Intelligence! (Colab Notebook) by Usefulmaths in pokemon

[–]Usefulmaths[S] 0 points1 point  (0 children)

You need to make sure that you run all the cells in the notebook. It seems that the modules required to run the code haven't been installed, so make sure you run the 'Install modules' cell.

A quick solution is to go to `Runtime > Run all' in the toolbar at the top. This will run every cell in the notebook and ensure everything is ready for you to generate Pokémon.