Based on the error message it seems you are passing a 1-dimensional input to EmbeddingNet while the internal convnet expects a 4-dimensional input.
Check the shape of x inside the forward method and make sure it contains 4 dimensions as [batch_size, channels, height, width].