Skip to content
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

ConvTranspose1d bug #884

Open
TugdualKerjan opened this issue Oct 19, 2024 · 1 comment
Open

ConvTranspose1d bug #884

TugdualKerjan opened this issue Oct 19, 2024 · 1 comment
Labels
question User queries

Comments

@TugdualKerjan
Copy link

Hello, I noticed that running the below code:

grab1, grab2 = jax.random.split(jax.random.PRNGKey(seed=69), 2)
conv = nn.ConvTranspose1d(512, 256, kernel_size=16, stride=8, padding=4, key=grab1)

x = jax.random.normal(key=grab2, shape=(512, 100))

Produces an error that seems to stem from the padding, as if I run

grab1, grab2 = jax.random.split(jax.random.PRNGKey(seed=69), 2)
conv = nn.ConvTranspose1d(512, 256, kernel_size=16, stride=8, padding=((2, 6),), key=grab1)

x = jax.random.normal(key=grab2, shape=(512, 100))

It works. I might have a misunderstanding of how Conv1d works though ! This library is amazing, thank you for the fantastic work 💯

@patrick-kidger
Copy link
Owner

Can you give the traceback and message for the error you obtain, and the versions of JAX and Equinox you are using? With JAX 0.4.34 and Equinox 0.11.8 I am unable to obtain an error with your code.

@patrick-kidger patrick-kidger added the question User queries label Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question User queries
Projects
None yet
Development

No branches or pull requests

2 participants