-
Notifications
You must be signed in to change notification settings - Fork 143
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
loss.backward() shows runtime error #266
Comments
Could you please provide more details or a short code snippet to reproduce this error? Thank you! |
check the in_channels in your network? 27648=27x32x32, seems that the in_channels should be 32 other than 4? |
import os F.set_kmap_mode("hashmap")from torchsparse.backbones.unet import SparseResUNet class SparseSigmoid(nn.Module):
class AttentiveFeatureFusionTorchSparse(nn.Module):
class SqueezeExcitationTorchSparse(nn.Module):
class AdaptiveFeatureSelectionTorchSparse(nn.Module):
class DefaultUNetTorchSparse(nn.Module):
class Model(nn.Module):
def main():
if name == "main":
config file
|
@ys-2020, could you please take a look at this issue when you have time? Thanks! |
Is there an existing issue for this?
Current Behavior
File "torchsparse/nn/functional/conv/func/implicit_gemm.pyx", line 160, in torchsparse.nn.functional.conv.func.implicit_gemm.ImplicitGEMMConvolutionFuntion.backward
RuntimeError: shape '[27, 32, 4]' is invalid for input of size 27648
Expected Behavior
No response
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: