Hi,
i added the below print statements to the main logic
    print(env.observation_space.shape)
    print(env.action_space.n)
    net = dqn_model.DQN_Conv1d(env.observation_space.shape, env.action_space.n).to(device)
    print(net)

And got the below in the terminal
(25, 12)
5
DQN_Conv1d(
  (conv): Sequential(
    (0): Conv1d(25, 32, kernel_size=(4,), stride=(4,))
    (1): ReLU()
    (2): Conv1d(32, 64, kernel_size=(4,), stride=(2,))
    (3): ReLU()
    (4): Conv1d(64, 64, kernel_size=(3,), stride=(1,))
    (5): ReLU()
    (6): Linear(in_features=64, out_features=512, bias=True)
    (7): ReLU()
    (8): Linear(in_features=512, out_features=5, bias=True)
  )
)

before i get the error:
RuntimeError: Calculated padded input size per channel: (1 x 3). Kernel size: (1 x 4). Kernel size can’t be greater than actual input size at c:\a\w\1\s\windows\pytorch\aten\src\thnn\gen
eric/SpatialConvolutionMM.c:50