Skip to content

Err: Expected 2D (unbatched) or 3D (batched) input to conv1d, but got input of size: [1, 32, 134, 14 #189

Discussion options

You must be logged in to vote

Hi,

What we can see in the log is similar to what you saw:
//===========

Imported modules in main.py
RuntimeError: Expected 2D (unbatched) or 3D (batched) input to conv1d, but got input of size: [1, 32, 134, 145]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/aistudio/eval_main.py", line 83, in main
ret = evaluation.eval(submit_file)
File "/home/aistudio/eval_prog/kddcup22-sdwpf-evaluation/pytorch/evaluation.py", line 336, in eval
raise Exception(msg)
Exception: Err: Expected 2D (unbatched) or 3D (batched) input to conv1d, but got input of size: [1, 32, 134, 145]! (GWNET.zip)
utils
Imported modules in main.py
sys
Imported…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@aptx1231
Comment options

Answer selected by aptx1231
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants