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

UpSample #1310

Open
tongqcx opened this Issue Mar 28, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@tongqcx

tongqcx commented Mar 28, 2018

I've met a problem with nn.UpSampling when I want to train a generate model
Proof code:
model:add(nn.UpSampling(2,'nearest')) --10
model:add(cudnn.VolumetricConvolution(128, 256, 5, 5, 5, 1, 1, 1, (5-1)/2, (5-1)/2, (5-1)/2))
model:add(nn.VolumetricBatchNormalization(256))
model:add(nn.PReLU(nil, nil, true))
Problem:
./models.lua:61: attempt to call field 'UpSampling' (a nil value)
stack traceback:
./models.lua:61: in function 'create_G'
train.lua:138: in function 'main'
train.lua:221: in main chunk
[C]: in function 'dofile'
.../tqc/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00405d50
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment