This repository has been archived by the owner on Aug 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Convolutional net example throws at runtime #2
Comments
found where the error is being thrown from exactly,
now to find out what's making it upset... |
partial finding: at impl PoolingDescriptor {
/// Initializes a new CUDA cuDNN Pooling Descriptor.
pub fn new(mode: cudnnPoolingMode_t, window: &[i32], padding: &[i32], stride: &[i32]) -> Result<PoolingDescriptor, Error> {
let generic_pooling_desc = try!(API::create_pooling_descriptor());
net_cfg.add_layer(LayerConfig::new("pooling", PoolingConfig { mode: PoolingMode::Max,
filter_shape: vec![2], padding: vec![0], stride: vec![2] })); at the other end of the stack. In the Pooling layer implementation at impl<B: IBackend + conn::Pooling<f32>> ILayer<B> for Pooling<f32, B> {
impl_ilayer_common!();
fn reshape(&mut self,
backend: ::std::rc::Rc<B>,
input_data: &mut Vec<ArcLock<SharedTensor<f32>>>,
input_gradient: &mut Vec<ArcLock<SharedTensor<f32>>>,
weights_data: &mut Vec<ArcLock<SharedTensor<f32>>>,
weights_gradient: &mut Vec<ArcLock<SharedTensor<f32>>>,
output_data: &mut Vec<ArcLock<SharedTensor<f32>>>,
output_gradient: &mut Vec<ArcLock<SharedTensor<f32>>>) { stride is defined as however, in the call to impl<T> Pooling<T> for Backend<Cuda>
where T: Float + Default + DataTypeInfo
{
fn new_pooling_config(&self,
window: &[i32],
stride: &[i32],
padding: &[i32])
-> Result<Self::CPOOL, ::co::error::Error> {
println!("got to just before pooling descriptor");
println!("stride is {:?}", stride); at this point |
This was referenced Sep 11, 2017
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Log:
The relevant part of the backtrace is here:
The text was updated successfully, but these errors were encountered: