You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.
applyInputDims is called with opt.inputDims which by default is not set. However applyInputDims expects this argument and crashes (eg. assert fails) if this is not set.
I think there should be either
Documentation specifying what opt.inputDims is
Some automatic way of setting a default opt.InputDims.
Otherwise the README example under Multiple Indices fail when sampledBatcher is called:
localgetBatch, numBatches=dataset.sampledBatcher({
batchSize=1,
samplerKind= { 'part-linear', 'part-linear-permutation' }, -- sample the first linearily, the second with a permutationprocessor=processor,
})
The text was updated successfully, but these errors were encountered:
applyInputDims is called with opt.inputDims which by default is not set.
However applyInputDims expects this argument and crashes (eg. assert
fails) if this is not set.
I think there should be either
Documentation specifying what opt.inputDims is
Some automatic way of setting a default opt.InputDims.
Otherwise the README example under Multiple Indices fail when
sampledBatcher is called:
local getBatch, numBatches = dataset.sampledBatcher({
batchSize = 1,
samplerKind = { 'part-linear', 'part-linear-permutation' }, -- sample the first linearily, the second with a permutation
processor = processor,
})
—
Reply to this email directly or view it on GitHub #14.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In this line
https://github.com/twitter/torch-dataset/blob/master/lua/Batch.lua#L19
applyInputDims
is called withopt.inputDims
which by default is not set. HoweverapplyInputDims
expects this argument and crashes (eg. assert fails) if this is not set.I think there should be either
opt.inputDims
isopt.InputDims
.Otherwise the
README
example under Multiple Indices fail whensampledBatcher
is called:The text was updated successfully, but these errors were encountered: