dmn-tensorflow icon indicating copy to clipboard operation
dmn-tensorflow copied to clipboard

Variable not found when initializing

Open Chia-Hsuan-Lee opened this issue 8 years ago • 8 comments

First of all, i am excited to see this awesome implementation, your code is easy to read !

ValueError: Variable DMN/Episodic/Layer0/AttnGate/AttrGRU/Gates/Linear1/BatchNorm/DMN/Episodic/Layer0/AttnGate/AttrGRU_1/Gates/Linear1/BatchNorm/cond/DMN/Episodic/Layer0/AttnGate/AttrGRU_1/Gates/Linear1/BatchNorm/moments/normalize/mean/ExponentialMovingAverage/biased does not exist, or was not created with tf.get_variable(). Did you mean to set reuse=None in VarScope?

I am on python3.5 I have searched the code and there isn't any variable declared with the error-prone "tf.variable()" All of them are declared with tf.getvariable() So i am not sure what is the problem here . Maybe you can help me ? Thanks really a lot ! @therne

Chia-Hsuan-Lee avatar Dec 30 '16 07:12 Chia-Hsuan-Lee

By the way i am running the dmn+ model .

Chia-Hsuan-Lee avatar Dec 30 '16 07:12 Chia-Hsuan-Lee

I think it's because of the problem of batch normalization part, because this code was written when the TensorFlow version was 0.9. Can you remove the batch normalization code until the time I update?

therne avatar Jan 04 '17 01:01 therne

I'll fix the problem in days. Sorry! 😢

therne avatar Jan 04 '17 01:01 therne

I went into the same problem. Any update on this?

mmaaww avatar Feb 03 '17 23:02 mmaaww

Sorry for late. I've been busy this past few months... I'll start working on this soon. 😢

therne avatar Feb 06 '17 09:02 therne

that's fine, I got around this problem as temp solution for now.

mmaaww avatar Feb 08 '17 02:02 mmaaww

@mmaaww how?

thomasschijf avatar Sep 20 '17 15:09 thomasschijf

@mmaaww Any update on rhis and how to fix this problem?

BillPei avatar Oct 11 '17 14:10 BillPei