#robotics Logs
Dec 14 2018
#robotics Calendar
12:14 AM mrdata-- is now known as mrdata__
01:22 AM flav0r: hey hey
01:23 AM rue_mohr: veverak,
01:23 AM rue_mohr: VEVERAK!!!!
01:23 AM * rue_mohr looks at flav0r
01:23 AM rue_mohr: VEVERAK!!!!!!!!!
01:24 AM rue_mohr: well, atleast I got the garbage out today
01:26 AM rue_mohr: ok rice machine needs a 25 min timer
01:26 AM rue_mohr: how complicated can I make this
01:26 AM rue_mohr: it should be a universal solution
01:26 AM rue_mohr: so general timer code
01:27 AM rue_mohr: it should be accurate, so down to the 10th of a second
01:27 AM rue_mohr: use an RTC chip, put the last entered period in the nv ram
01:27 AM rue_mohr: make a menu to select values from the nv ram
01:27 AM rue_mohr: put a wifi interface on it to manage the nv ram entires
01:28 AM rue_mohr: give it an lcd and a 4 way select interface on the front
01:28 AM rue_mohr: 800w...
01:28 AM rue_mohr: so 20A triac should do
01:28 AM rue_mohr: but it should also be able to handle partial power
01:29 AM rue_mohr: so I COULD chop, but what might be better is to use a recified switch and do pwm
01:29 AM rue_mohr: and put in overload protection
01:29 AM rue_mohr: I suppose it should log too
01:29 AM flav0r: uhh
01:29 AM flav0r: relay and a timer
01:29 AM rue_mohr: dude!
01:30 AM rue_mohr: I dont work like that
01:30 AM flav0r: WHATS UP DUDE !!!
01:30 AM rue_mohr: this could totally have an http configuration interface
01:31 AM flav0r: yeah i have a project on ther backburner
01:31 AM flav0r: which was to mod a coffee grinder
01:31 AM rue_mohr: do tell
01:31 AM flav0r: make it have some wifi
01:31 AM flav0r: and an oled
01:31 AM rue_mohr: aha, I have a coffeemaker mod!
01:32 AM rue_mohr: yes, wifi, mine too
01:32 AM flav0r: this was just a grinder
01:32 AM rue_mohr: I need an interface that will allow multiple start times
01:32 AM flav0r: also i have something for the future for some guys i know for their office
01:32 AM rue_mohr: suppose I should get with writing the config page
01:32 AM flav0r: a load cell under some container so they know how many coffee beans they have left
01:32 AM flav0r: wifi
01:32 AM flav0r: oled
01:32 AM flav0r: too
01:32 AM flav0r: so can send email and sms for order notification
01:32 AM rue_mohr: I ahve to be carefull of power consumption
01:32 AM rue_mohr: but
01:33 AM rue_mohr: an oled might not push it over
01:33 AM flav0r: yah
01:33 AM rue_mohr: then again, I cant just get those anymore
01:33 AM rue_mohr: $10 shipping
01:33 AM flav0r: they are pretty minimal with juice requirements
01:33 AM rue_mohr: +1.30 for the screen
01:33 AM flav0r: wtf
01:33 AM flav0r: $10 ?
01:33 AM rue_mohr: yea
01:33 AM flav0r: of some sorta shipping tariff ?
01:33 AM rue_mohr: suddenly EVERYTHING from china took on 6-10 shipping
01:33 AM flav0r: weird
01:33 AM rue_mohr: could be a lot of things, waiting to see
01:34 AM flav0r: im still seeing free shipping
01:34 AM rue_mohr: not much is worth buying w/ that much shipping
01:34 AM flav0r: and cheap as dirt shipping from aliexpress
01:34 AM rue_mohr: if you CLICK on it, is the shipping still free?
01:34 AM flav0r: yeaaah
01:34 AM rue_mohr: cause some listing still say free, but you open them, and they aren't
01:35 AM flav0r: https://www.aliexpress.com/item/Free-Shipping-White-Blue-Whiteand-Blue-color-0-96-inch-128X64-OLED-Display-Module-For-arduino/32713614136.html
01:36 AM flav0r: https://www.aliexpress.com/item/0-96-inch-IIC-Serial-Yellow-Blue-OLED-Display-Module-128X64-I2C-SSD1306-12864-LCD-Screen/32902463963.html\
01:36 AM flav0r: https://www.aliexpress.com/item/0-96-inch-IIC-Serial-Yellow-Blue-OLED-Display-Module-128X64-I2C-SSD1306-12864-LCD-Screen/32902463963.html
01:37 AM rue_mohr: hold on
01:38 AM rue_mohr: https://pasteboard.co/HRESPD3.png
01:38 AM flav0r: fuck trudeau
01:39 AM flav0r: you have any free options when you open the dropdown ?
01:39 AM rue_mohr: if they would list them in 5 packs, I wouldn't mind so much
01:39 AM flav0r: i assume not
01:39 AM rue_mohr: nope
01:39 AM flav0r: well they usually combine shipping
01:39 AM flav0r: if you increse count
01:39 AM rue_mohr: I dont know if its truedeu or canada post
01:39 AM flav0r: what does it do to shipping ?
01:39 AM flav0r: straight up multiplier ?
01:40 AM rue_mohr: varries... this one...
01:40 AM rue_mohr: is static 6.63
01:40 AM rue_mohr: to 5 pcd
01:40 AM rue_mohr: then at 6, it jumps to $32
01:40 AM flav0r: also usually you can just write to the seller they typically accomodate
01:41 AM flav0r: yeah just send a message to tghe seller and tell them what you are trying to do
01:41 AM flav0r: for example whan i ewas buying those connectors they were in 50 packs
01:41 AM flav0r: but i just asked if they would do me 12 x 2pin 12 x 3pin etc
01:41 AM flav0r: and i paid the price ffor 4 pin
01:41 AM rue_mohr: yes and no, I was watching the prices go up slowly, and did a 'get everything I should ever need' 'lifetime supplies'
01:42 AM rue_mohr: I'd not bought anything for about a month
01:42 AM rue_mohr: so, supposedly I ahve everything I could see needing
01:42 AM flav0r: hehe nice
01:42 AM flav0r: i havent ordered anything for a coupel weeks
01:42 AM flav0r: glad to get good shipping prices still
01:42 AM rue_mohr: but I have all sorts of contacts for people on 'the other side' and If I needed someone to package up a bunch of stuff for me, I suspect I could get someone to do it
01:43 AM flav0r: however in the last few months they tack on sales tax
01:43 AM rue_mohr: your in canada or usa?
01:43 AM flav0r: fuck the liberals inb WA
01:43 AM rue_mohr: hmm
01:43 AM flav0r: usa, WA
01:43 AM flav0r: a few years back
01:43 AM flav0r: WA disallowed purchases to aliexpress
01:43 AM rue_mohr: even for 11.11, china was squirming
01:43 AM flav0r: until they got some sorta escrow in place
01:43 AM rue_mohr: 11.11 should have been 1 day, it lasted a week
01:44 AM flav0r: then for ages .. no tax
01:44 AM flav0r: now tax
01:44 AM flav0r: fucking liberals
01:44 AM rue_mohr: and I was seeing desperite sellers
01:44 AM flav0r: tax tax tax
01:44 AM rue_mohr: I think china is gonna make a move
01:44 AM rue_mohr: now sure what
01:44 AM rue_mohr: waiting for it
01:45 AM rue_mohr: but right now I'll try to sleep
01:46 AM flav0r: ok man
01:46 AM flav0r: take it easy
03:35 AM veverak: rue_mohr: no tensor flow, fully custom code
03:35 AM veverak: the assigment forbid usage of any libraries except for the standart math functions
03:35 AM veverak: (sin,cos,exp,pow)
03:41 AM deshipu: of course
03:41 AM veverak: which is cool actually
03:41 AM veverak: one finds what the pain in the arse is to develop everything with neurons :)
03:41 AM veverak: numerical instabillity and other things
06:59 AM tsglove2 is now known as tsglove
08:51 AM rue_mohr: veverak, well thats cool, so did you use a tensor library?
08:51 AM rue_mohr: what language did you do it in?
09:00 AM veverak: C++, did not nuse tensor library
09:00 AM veverak: but not much C constructs
09:00 AM veverak: *C++
09:04 AM rue_mohr: neat!
09:05 AM rue_mohr: was there actually much trig?
09:05 AM rue_mohr: the only time I saw trig come up in NN was in the complex thresholding stuff
09:05 AM rue_mohr: sorry, cant rememebr the right term
09:05 AM rue_mohr: did you do any hidden layers?
09:11 AM rue_mohr: polypropylene
09:36 AM veverak: one hidden
09:36 AM veverak: 10/400/28*28
09:36 AM veverak: output/hidden/input
10:07 AM veverak: sigmoid f as output
10:07 AM veverak: or.. activation function
10:08 AM veverak: aaand required a momentum to train to >95%
02:00 PM mrdata__ is now known as mrdata|
06:56 PM rue_mohr: momentum?
07:13 PM rue_mohr: https://towardsdatascience.com/transfer-learning-from-pre-trained-models-f2393f124751
07:19 PM rue_mohr: veverak, arg, I need to know more
07:32 PM Tom_L: funny sometimes to look back on code you wrote
07:55 PM rue_mohr: yup
07:55 PM rue_mohr: how old?
08:26 PM mrdata_ is now known as mrdata|
09:31 PM veverak: rue_mohr: at each weight update
09:32 PM veverak: you add -wd_(t-1)
09:33 PM veverak: - weight change from previous round, multiplied by some 'alfa' which is let's say 0.3
10:10 PM veverak: as smoothing thing
10:17 PM mrdata| is now known as mrdata-
10:17 PM mrdata- is now known as mrdata_
10:17 PM mrdata_ is now known as mrdata--
10:17 PM mrdata-- is now known as mrdata__
10:19 PM mrdata__ is now known as mrdata||
10:41 PM rue_mohr: oh thats what I did on the one ... I did
10:41 PM rue_mohr: but I didn't ge to hiden layers
10:42 PM rue_mohr: cn I see the assegment and or code?
10:42 PM rue_mohr: I even tried random alphas and watched the learn times
10:42 PM rue_mohr: surprisingly, most of them weren't bad
10:42 PM veverak: sure
10:43 PM rue_mohr: but it was a no hidden layer 2/3in 1 out (one input was fixed)
10:43 PM veverak: but I am in car on road to itally now
10:43 PM rue_mohr: ok
10:43 PM veverak: rue_mohr: I have 5:41 AM now, around 20:00 I should be able to send it
10:44 PM rue_mohr: sweet!
10:44 PM rue_mohr: I could not find enough infromation about how to train a hidden layer
10:44 PM rue_mohr: I have ideas I want to try
10:46 PM veverak: yeah, that part was bitch
10:46 PM veverak: :)
10:46 PM veverak: math without hidden layer is simpler and more intuitive
10:52 PM rue_mohr: dan I cant get you mentally involved right now
10:52 PM rue_mohr: er damn
11:33 PM mrdata||: you dont train a hidden layer
11:34 PM mrdata||: you train inputs and outputs
11:34 PM mrdata||: in fact if your hidden layer meets certain criteria known as echo state, it can be randomly connected
11:35 PM mrdata||: the echo state property assures that the netowrk cannot evolve to a seizure state
11:38 PM mrdata||: to accomplish this there's something about the total excitation while free-running
11:38 PM mrdata||: cannot increase on its own but depends on inputs i think