adventures-in-ml-code icon indicating copy to clipboard operation
adventures-in-ml-code copied to clipboard

Why weights and bias can be initialized? (CNN Tutorial)

Open JingqiL opened this issue 7 years ago • 0 comments

Hello,

I have a code similar to yours. But when I run it in python, it always return error 'Attempting using uninitialized value weights_10 (bias_10)'.

As weights and bias are in a defined function, they should not be able to be initialized (But even I try local initialization, it still returns the same error.)

Can I know some more about how this two variables work in your code? (Mine is very similar to yours, but in my case, it returns error. )

JingqiL avatar Feb 22 '18 18:02 JingqiL