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

UpSample #1310

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

UpSample #1310

tongqcx opened this issue Mar 28, 2018 · 0 comments

Comments

@tongqcx
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant