Closed robotsorcerer closed 8 years ago
@lakehanne Each module in the toolbox is meant to work without extra installation. For the weight initialization, all you need is to copy weight-init.lua
into your working directory.
I've tested the code block to replicate the error but I could not. And the error msg does not seem to be related to the weight initialization module. One more comment is that using Linear with SpatialConvolutionMM will not work due to the dimension mismatch. You may want to take a look at nn.View
module for changing the dimension.
I sent you an email. Please take a look at the code. Thanks!
please let me know if you need more help
@jhjin Hi! I copy weight-init.lua from https://github.com/e-lab/torch-toolbox/blob/master/Weight-init/weight-init.lua into my work dictionary, but the error still exists. Could you help me if you know more reason? Thank you very much!!!
@jhjin My related code is: loadModel = false if loadModel ~= true then W = torch.load('c3d.t7') local method = 'xavier' model = require('weight-init')(model, method)
Hi there,
How do you integrate this torch toolbox with a native installation of Torch?
Do you have a documentation or something related?
Cloning to my existing Torch installation directory seem to work well for me. But I get a compilation error:
The code section in question is:
Thanks!