You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to autonn and looking into the demo, and there might be a problem in the example.
By modifying the definition of prediction to : prediction = w * x' + b ;
instead of
prediction = w * x + b ;
( and change the def of w to w = Param('value', randn(100,1)) ;)
I will be able to run the demo (but then this w*x' produces a square matrix and is nonsense), otherwise, the exception in sum_der (line 229) always occurs.
For the original definition of x and w, the x_sz of line 220 in autonn_der.m is vector [1,1] with only two input arguments, and thus the line 224 would be dim = find([1,1, 2] ~= 1, 1) ; // which returns 3
Then in line 229, x_sz(dim) becomes x_sz(3) and it exceeds the max dimension of x_sz.
The current version of matconvnet is 1.0 -beta 24, while the version of matlab is R2016b.
The text was updated successfully, but these errors were encountered:
CielAl
changed the title
net shell example
nut shell example
Jun 24, 2018
CielAl
changed the title
nut shell example
Possible typo in the nutshell example
Jun 24, 2018
CielAl
changed the title
Possible typo in the nutshell example
Possible issue in the nutshell example
Jun 24, 2018
CielAl
changed the title
Possible issue in the nutshell example
issues in the nutshell example
Jun 24, 2018
Hi,
I am new to autonn and looking into the demo, and there might be a problem in the example.
By modifying the definition of prediction to :
prediction = w * x' + b ;
instead of
prediction = w * x + b ;
( and change the def of w to
w = Param('value', randn(100,1)) ;
)I will be able to run the demo (but then this w*x' produces a square matrix and is nonsense), otherwise, the exception in sum_der (line 229) always occurs.
For the original definition of x and w, the x_sz of line 220 in autonn_der.m is vector [1,1] with only two input arguments, and thus the line 224 would be
dim = find([1,1, 2] ~= 1, 1) ; // which returns 3
Then in line 229,
x_sz(dim)
becomesx_sz(3)
and it exceeds the max dimension of x_sz.The text was updated successfully, but these errors were encountered: