Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reg: Error while training PDNN using maxout #40

Open
ellurunaresh opened this issue Apr 28, 2016 · 0 comments
Open

Reg: Error while training PDNN using maxout #40

ellurunaresh opened this issue Apr 28, 2016 · 0 comments

Comments

@ellurunaresh
Copy link

Hi all,

I was running PDNN with dropout+maxout parameters. Found the error at DNN training.
Please help me out how to solve this issue.

*_Using gpu device 0: Tesla K40m
[2016-04-28 06:54:31.804045] > ... building the model
Traceback (most recent call last):
File "pdnn/cmds/run_DNN.py", line 85, in
_file2nnet(dnn.layers, set_layer_num = ptr_layer_number, filename = ptr_file)
File "/home/kk/work/eng/pdnn/io_func/model_io.py", line 114, in file2nnet
layer.W.set_value(factor * np.asarray(string_2_array(nnet_dict[dict_a]), dtype=theano.config.floatX).reshape(mat_shape))
ValueError: total size of new array must be unchanged
*

Command used for training DNN is:

   $pythonCMD pdnn/cmds/run_DNN.py --train-data "$working_dir/train_tr95.pfile.*.gz,partition=2000m,random=true,stream=true" \
                                    --valid-data "$working_dir/train_cv05.pfile.*.gz,partition=600m,random=true,stream=true" \
                                    --nnet-spec "429:400:400:400:913" \
                                    --ptr-file $working_dir/dnn.ptr --ptr-layer-number $numHidden \
                                    --dropout-factor "0.2,0.2,0.2" \
                                    --activation "maxout:3" \
                                    --lrate "D:0.08:0.5:0.2,0.2:8" \
                                    --wdir $working_dir --kaldi-output-file $working_dir/dnn.nnet || exit 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant