View unanswered posts | View active topics It is currently Fri Jul 11, 2014 12:31 pm






Reply to topic  [ 24 posts ]  Go to page Previous  1, 2
Mantis Bug ID 234 
Author Message
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3155
Location: Rotterdam, The Netherlands
Post Re: Mantis Bug ID 234
It was exactly an hour since I started the program and the timeout is set to 60 mins :)

Regards,
Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Sun Jul 05, 2009 4:47 pm
Profile WWW
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3155
Location: Rotterdam, The Netherlands
Post Re: Mantis Bug ID 234
Is there a way to speed this stuff up? It's doing 100 counts per 10 mins. At this rate it will take 100 mins to do all of them. Surely it doesn't take that long to recalc the whole net? I don't really care about the displaying stuff.

Regards,
Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Sun Jul 05, 2009 4:53 pm
Profile WWW
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post Re: Mantis Bug ID 234
try the newer version in the neural net thread. Better performance, you'll get the run time errors quicker ;)

the delay time is calculated sharper and even may be adjusted by that global variable.

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Sun Jul 05, 2009 5:01 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3155
Location: Rotterdam, The Netherlands
Post Re: Mantis Bug ID 234
Can you give me the link to that thread, please?

Edit: It would've been nice if you had told me up front that there was a better version to test rather than have me spent two hours waiting for this thing to complete properly. On second thoughts, just mail me the program you want tested, not going to dig around the forums copying and pasting stuff into an editor window. You have my address :)

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Sun Jul 05, 2009 5:10 pm
Profile WWW
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post Re: Mantis Bug ID 234
the version actually is not better, the teach-in-layout and the menu structure are a little different.

the calculations are the same, though the calculation time may be set shorter.
As I said before: the same errors, but you get them maybe quicker :twisted:
But no severe changes.

so don't worry, nothing was in vain ;)

Edit: for mailing, i have to c&p just like you, I'm not sure if I'll find quite the same version on my PC. So plz try c&p, will you? ^^

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Sun Jul 05, 2009 5:27 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3155
Location: Rotterdam, The Netherlands
Post Re: Mantis Bug ID 234
I'll run it tomorrow, it'll take too long now and I'm going to bed shortly :)

I modified your program a little more and ripped out some more wait statements that didn't seem to make sense to me.

Regards,
Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Sun Jul 05, 2009 5:33 pm
Profile WWW
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post Re: Mantis Bug ID 234
don't make the WAITs too short.
it's multitasking calculations, you'll have to be sure that 1 calculation is through before the next one starts.

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Sun Jul 05, 2009 5:35 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3155
Location: Rotterdam, The Netherlands
Post Re: Mantis Bug ID 234
I've run this 5 times to completion now (from 999 to 0) and no error occurs, no unexpected shutdown. In other words, I cannot reproduce this with the current alpha build.

Regards,
Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Mon Jul 06, 2009 11:45 am
Profile WWW
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post Re: Mantis Bug ID 234
These are good news^^

EDIT: but actually the program should regularly stop before reaching 999 training cycles: in the moment it has learnt the rules by backpropagation... :roll:

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Mon Jul 06, 2009 2:02 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 24 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.