make-ipinyou-data
make-ipinyou-data copied to clipboard
SNN_RBM shape mismatch
Hi,
When running SNN_RBM.py on the datasets from the paper (tried on 1458 and 2261), we get the following error:
'''
../../make-ipinyou-data/2261/train.yzx.txt
drop_mlp4da.py|ad:2261|drop:1|b_size:1000 | X:133465 | Hidden 0:300 | Hidden 1:300 | Hidden 2:100 | L_r:0.0006 | activation1:tanh | lambda:0.0001
Traceback (most recent call last):
File "C:\Users\corpa\anaconda3\lib\site-packages\theano\compile\function_module.py", line 903, in call
self.fn() if output_subset is None else
ValueError: Shape mismatch: x has 37 cols (and 1 rows) but y has 70 rows (and 300 cols)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "SNN_DAE.py", line 85, in
ValueError: Shape mismatch: x has 37 cols (and 1 rows) but y has 70 rows (and 300 cols)
Apply node that caused the error: Dot22(Elemwise{Mul}[(0, 0)].0, ww)
Toposort index: 12
Inputs types: [TensorType(float64, matrix), TensorType(float64, matrix)]
Inputs shapes: [(1, 37), (70, 300)]
Inputs strides: [(296, 8), (2400, 8)]
Inputs values: ['not shown', 'not shown']
Outputs clients: [[Elemwise{Composite{scalar_sigmoid((i0 + i1))}}[(0, 0)](Dot22.0, InplaceDimShuffle{x,0}.0)]]
Backtrace when the node is created(use Theano flag traceback.limit=N to make it longer):
File "SNN_DAE.py", line 85, in
HINT: Use the Theano flag 'exception_verbosity=high' for a debugprint and storage map footprint of this apply node. '''
Ideas of solutions?
Thanks!