File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,8 +133,6 @@ initializeDummyNeuralNetwork = () => {
133133 do {
134134 // Generate fake sample for dummy nn
135135 let [ dummynn_input , dummynn_target ] = dummynn_generate_sample ( ) ;
136- console . log ( dummynn_input . toString ( ) ) ;
137- console . log ( dummynn_target . toString ( ) ) ;
138136
139137 // Start fake training
140138 dummynn . vArgs . autoTrain . inProgress = true ;
Original file line number Diff line number Diff line change @@ -1603,8 +1603,8 @@ class Weight{
16031603
16041604 // Red/Green interpolation
16051605 let gradientColorValue = ( Math . abs ( this . gradientVisualValue ) / vArgs . gradientStats . gMax ) * 255 ;
1606- if ( this . gradientVisualValue > 0 ) canvas . stroke ( 0 , gradientColorValue , 0 , 192 ) ;
1607- else if ( this . gradientVisualValue < 0 ) canvas . stroke ( gradientColorValue , 0 , 0 , 192 ) ;
1606+ if ( this . gradientVisualValue > 0 ) canvas . stroke ( 0 , gradientColorValue , 0 , 128 ) ;
1607+ else if ( this . gradientVisualValue < 0 ) canvas . stroke ( gradientColorValue , 0 , 0 , 128 ) ;
16081608
16091609 canvas . strokeWeight ( 3 ) ;
16101610 canvas . line ( fromX , fromY , toX , toY ) ;
You can’t perform that action at this time.
0 commit comments