我的输入数据形状是[n,3,64,64]
我在运行踩踏代码后得到的。在
Using Theano backend.
Using gpu device 0: Tesla K20m (CNMeM is disabled, cuDNN not available)
ValueError: GpuCorrMM images and kernel must have the same stack size
Apply node that caused the error: GpuCorrMM{half, (1, 1)}(GpuContiguous.0, GpuContiguous.0)
Toposort index: 115
Inputs types: [CudaNdarrayType(float32, 4D), CudaNdarrayType(float32, 4D)]
Inputs shapes: [(32, 8, 16, 1024), (256, 512, 5, 5)]
Inputs strides: [(131072, 16384, 1024, 1), (12800, 25, 5, 1)]
Inputs values: ['not shown', 'not shown']
Outputs clients: [[GpuElemwise{Add}[(0, 0)](GpuCorrMM{half, (1, 1)}.0, GpuReshape{4}.0)]]
代码是怎么回事,怎么解决这个问题?谢谢
我的代码:
^{pr2}$另外,有人知道,有人输入了512个图形,有人知道吗,有人输入了256个图形?我怎样才能解决这个问题?在
谢谢
当我在cpu上运行这段代码时_模型.摘要()结果是: 0.0 1.0 X轴列车形状-(29404、3、64、64) 29404列车样本
相关问题 更多 >
编程相关推荐