Hey Zhaojing,

yes thank you, your modified example works fine.

Best regards,

Georges

> On 25 Jun 2016, at 11:44, zhaojing <[email protected]> wrote:
> 
> Hi Georges,
> 
> There are two modifications you should make in order to run the example.
> 
> (1) When Singa runs, it will assign the parameters a new name like
> "w1" -> "0#w1", "w2" -> "0#w2", "w3" -> "0#w3", "w4" -> "0#w4" , in which 
> "0#" identifies the unrolled param, each parameter is by default regarded as 
> unrolling 0 times (see 
> https://github.com/apache/incubator-singa/blob/master/src/neuralnet/neuralnet.cc).
> 
> You should modified all the "shared from" filed like
> share_from: "w1" -> share_from: "0#w1"
> share_from: "w2" -> share_from: "0#w2"
> share_from: "w3" -> share_from: "0#w3"
> share_from: "w4" -> share_from: "0#w4".
> 
> (2) When a parameter is shared from another parameter, you should also add 
> initialization method for it.
> 
> previously:
> 
>      param{
>       name: "w8"
>       share_from: "0#w1"
>      }
> 
> modified as:
> 
>     param{
>      name: "w8"
>      share_from: "0#w1"
>      init{
>        type: kGaussian
>        mean: 0.0
>        std: 0.1
>      }
>    }
> 
> I have attached my modified version of the RBM conf files for your reference. 
> Please check. Thank you!
> 
> Best regards,
> Zhaojing.
> 
> 
> On 2016-06-25 00:25, Georges Alkhouri wrote:
>> Hello dear Singa Community,
>> I’ am writing my Master Thesis about Deep Learning. A preparation for
>> this is the evaluation of existing Deep Learning Frameworks like
>> Singa.
>> I tried to run the RBM example (http://singa.apache.org/docs/rbm.html
>> <http://singa.apache.org/docs/rbm.html>), but I am getting the error
>> message
>> F0624 15:50:45.300340  1776 neuralnet.cc <http://neuralnet.cc/>:120]
>> Check failed: name2param.find(from) != name2param.end() can't find
>> share_from = w1
>> after I executed this line of bash code from the example site:
>> ./bin/singa-run.sh -conf examples/rbm/rbm1.conf
>> Singa is running in a docker container and I didn’t change the config
>> file from the example.
>> Do you have any suggestions? Am I missing something?
>> Thanks,
>> Georges
> <rbm.zip>

Reply via email to