101 Curie Neural Network Lib - Can not change global context
hi,
i call setglobalcontext number, , remains @ 127.
here code :
void setgcontext(int gc)
{
curiepme.setglobalcontext(gc);
uint16_t newgc = curiepme.getglobalcontext();
if (newgc != gc)
{
serial.print("failed ");
}
serial.print("set global context to:");
serial.println(gc);
serial.print("global context currently:");
serial.println(newgc);
}
output
set global context 1
failed set global context to:1
global context currently:127
it doesnt matter if in knn or rbf mode, stays @ 127.
is there supposed 127 different contexts each neuron ? there-by giving me ability have 17 different patterns ?
if mean have context each ocr character i'm trying match, having 1 context category every ocr character i'm trying match.
so example have context 5 general character ( ocr image 0 - 0 through 9 - nice, 10 digits learned in context number 5. have (i'm not saying idea or desirable - i'm asking if possible - please nobody bad idea), context each digit, context 10 number 0, 11 number 1 etc. test image in general context (5), if fails recognise, iterate through each of contexts 10 - 19, , see if matches ocr image ?
i call setglobalcontext number, , remains @ 127.
here code :
void setgcontext(int gc)
{
curiepme.setglobalcontext(gc);
uint16_t newgc = curiepme.getglobalcontext();
if (newgc != gc)
{
serial.print("failed ");
}
serial.print("set global context to:");
serial.println(gc);
serial.print("global context currently:");
serial.println(newgc);
}
output
set global context 1
failed set global context to:1
global context currently:127
it doesnt matter if in knn or rbf mode, stays @ 127.
is there supposed 127 different contexts each neuron ? there-by giving me ability have 17 different patterns ?
if mean have context each ocr character i'm trying match, having 1 context category every ocr character i'm trying match.
so example have context 5 general character ( ocr image 0 - 0 through 9 - nice, 10 digits learned in context number 5. have (i'm not saying idea or desirable - i'm asking if possible - please nobody bad idea), context each digit, context 10 number 0, 11 number 1 etc. test image in general context (5), if fails recognise, iterate through each of contexts 10 - 19, , see if matches ocr image ?
fixed: https://github.com/01org/intel-pattern-matching-technology/pull/20
Arduino Forum > Products > Arduino 101 (Moderators: cmaglie, facchinm) > 101 Curie Neural Network Lib - Can not change global context
arduino
Comments
Post a Comment