adventuresinML / adventures-in-ml-code

This repository holds all the code for the site http://www.adventuresinmachinelearning.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

JingqiL opened this issue · 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. )