We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, I have data with Tensor and a model for example, data:
local x = torch.Tensor(opt.batchSize,trainData.data:size(2), trainData.data:size(3), trainData.data:size(4)) -- local yt = torch.Tensor(opt.batchSize)
model: CNN:add(nn.SpatialConvolution(channel_image, nstates,filtsize, filtsize)) I converted this data into cuda: x = x:cuda() yt = yt:cuda()
CNN=CNN:cuda()
However, the speed seems to be unchanged when using cuda and without cuda. I do not know why?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I have data with Tensor and a model for example,
data:
local x = torch.Tensor(opt.batchSize,trainData.data:size(2),
trainData.data:size(3), trainData.data:size(4)) --
local yt = torch.Tensor(opt.batchSize)
model:
CNN:add(nn.SpatialConvolution(channel_image, nstates,filtsize, filtsize))
I converted this data into cuda:
x = x:cuda()
yt = yt:cuda()
CNN=CNN:cuda()
However, the speed seems to be unchanged when using cuda and without cuda. I do not know why?
The text was updated successfully, but these errors were encountered: