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

about the input of he CNN_net #50

Open
Iqun1314 opened this issue Oct 14, 2020 · 2 comments
Open

about the input of he CNN_net #50

Iqun1314 opened this issue Oct 14, 2020 · 2 comments

Comments

@Iqun1314
Copy link

Hello, I tried to replace the input with wx, wy, wz, ax, ay, az, roll, pitch, yall, the code is:
if iekf.mes_net.training:
u = dataset.add_noise(u)
u = u.numpy()
u = np.hstack((u, ang_gt)) #6+3=9
u = torch.from_numpy(u)
but when I run the code, there is an error:
RuntimeError: Given groups=1, weight of size 32 9 5, expected input[1, 6, 2000] to have 9 channels, but got 6 channels instead

I don't know how to deal with it, could you give me some suggestion, thank you!

@mbrossar
Copy link
Owner

You give an input of dimension 9 but the network expects an input of dimension 6.
It is sufficient to modify the input dimension (the 6) here.

@scott81321
Copy link

@Iqun1314 Hello! Have you had success so far? Can anyone confirm if, whether or not, the training part of ai-imu-dr only considers updating the NN variable of the method?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants