It is currently Thu Jul 04, 2024 4:34 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Let a Neural Net help you create the best black rectangle on white
PostPosted: Sat Mar 11, 2023 5:38 pm  (#1) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4003
Location: Canada
In this case, a simple random black rectangle on top of blank canvas.
You're shown two random ones.
Keep voting for the one you think that you like more, and you'll be training a neural net to help decide for a better one over time.
Often, we might not know which are all the rules that make us like a piece more than another, but with this method, you don't need to know...just have to keep voting and it'll be used as training data to train a simple neural net (using brain.js Javascript Library) on the page.
and over time it gets better at acting as you (or like you would vote) and each time you click generate() it can act as you and vote like 1000 times (after giving enough real votes of course).
program page: https://thelotteryforum.com/braint.html
Youtube demo after my 300 votes or so.
www.youtube.com Video from : www.youtube.com

_________________
TinT


Last edited by trandoductin on Sat Mar 11, 2023 6:14 pm, edited 1 time in total.

Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Let a Neural Net help you create the best black rectangle on white
PostPosted: Sat Mar 11, 2023 5:39 pm  (#2) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4003
Location: Canada
It's in the discovery and testing phase.
In the future I want to change the code to change the input of training data to take in more variables which would represent more complex than a simple black rectangle.

_________________
TinT


Top
 Post subject: Re: Let a Neural Net help you create the best black rectangle on white
PostPosted: Sat Mar 11, 2023 6:14 pm  (#3) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4003
Location: Canada
Sorry about earlier posted wrong video so It was unavailable for a while

_________________
TinT


Top
 Post subject: Re: Let a Neural Net help you create the best black rectangle on white
PostPosted: Sat Mar 11, 2023 6:17 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1365
This is a voting or election method to train a neural net. It's probably fairly predictable what humans will vote for. My prediction is it will produce something like the Mona Lisa (once the blockier pixels have been voted-out :))

Why not just use existing elections to decide? Allocate a random decision to each candidate and then see who won. IMHO humans are extremely good a electing complete idiots. Here they are only electing a piece of art and can't self-harm like they usually do :)


Top
 Post subject: Re: Let a Neural Net help you create the best black rectangle on white
PostPosted: Sat Mar 11, 2023 8:23 pm  (#5) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4003
Location: Canada
Oh no not Mona Lisa, this is just to get the most fitting black on white canvas.
So for this one the end will always be a black rectangle on white canvas.

As for the training data I am only feeding it top left corner coordinate, width and height of black rectangle. (Probably shouldn't have called it pieces of art, but just black rectangles on white which could be art hehe)

In future pages I plan to feed it more data for other shapes or combinations of shapes

_________________
TinT


Top
 Post subject: Re: Let a Neural Net help you create the best black rectangle on white
PostPosted: Sun Mar 12, 2023 7:22 am  (#6) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4003
Location: Canada
This is what the trained neural net thinks I would vote for (with 249 votes as training data).
I generated 1000 times for each tile and did it 9 times/tiles and composed this one.
Image

_________________
TinT


Top
 Post subject: Re: Let a Neural Net help you create the best black rectangle on white
PostPosted: Sun Mar 12, 2023 12:59 pm  (#7) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4003
Location: Canada
comments are interesting on this one: https://old.reddit.com/r/generative/com ... ectangles/

_________________
TinT


Top
 Post subject: Re: Let a Neural Net help you create the best black rectangle on white
PostPosted: Sun Mar 12, 2023 3:38 pm  (#8) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4003
Location: Canada
This one is 9 pairs of 1 black rectangle and another with inner white rectangle.
Trained with 300 votes.
Image

_________________
TinT


Top
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Colouring Black and White photos - Plaids

3

No new posts Attachment(s) Outcomes created using filter BLACK&WHITE FRAMED

35

No new posts Attachment(s) Use of Fuzzy Select tool to remove white background from black text

2

No new posts Attachment(s) a new filter "Black&White Framed", version 1.1.0

0

No new posts Simple Geometric Shapes Art using Neural Network

2



* Login  



Powered by phpBB3 © phpBB Group