sdemyanov / ConvNet

Convolutional Neural Networks for Matlab for classification and segmentation, including Invariang Backpropagation (IBP) and Adversarial Training (AT) algorithms. Trained on GPU, require cuDNN v5.
240 stars 141 forks source link

How to check the value of the kernel? #25

Open ybguo1 opened 9 years ago

ybguo1 commented 9 years ago

Thank you very much about your toolbox which helped us a lot. For now, I just do the image segmentation problems. To improve the performance of final results, I need to check the value of the kernel in each layer in the toolbox, when I try to use GPU, the output of the weight is a vector. Could you tell me how to change this weight in to standard structure (like N-by-N matrix)? Thank you very much.

sdemyanov commented 9 years ago

Hi. Yes, you can use the matlab functions getweights/setweights to transform a vector to layer weights and back.