self.c1 is initialized as nn.Conv2d(in_channels=128, out_channels=384, kernel_size=11,stride=1,padding=2) and expects the input to have 128 channels. You are passing x to it, which seems to have 1 input channel:
out=self.c1(x)

so you might either want to change the in_channels to 1 for this layer or pass out to it if this fits your use case.