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

Given the wrong initial value, the KNet (architecture 1) does not converge #21

Open
wangz21 opened this issue Apr 18, 2023 · 4 comments

Comments

@wangz21
Copy link

wangz21 commented Apr 18, 2023

Q1: Do I have to give an exact initial value of "m1x_0"? When I try to have the initial value with error, KNet does not converge.
Q2: My state vector is 9-dimensional (x:[9x1]), and the order of magnitude difference between dimensions is large, do I need to change other data normalization methods?The nn.functional.normalize function is used in your source program.

@XiaoyongNI
Copy link
Collaborator

Q1: KalmanNet assumes same distribution during training and inference. If your training dataset has the same distribution of random init value as inference dataset, KalmanNet can deal with this randomness.
Q2: Similar as other Neural Network aided method, to accelerate your training, it's better to normalize your input to similar order of magnitude.

Best,
Xiaoyong

@wangz21
Copy link
Author

wangz21 commented May 25, 2023 via email

@suiguoernian
Copy link

Q1:can you share the code of the KNet(Architecture 1)?
Q2:I want to know the reason why the KalmanNet (Architecture 2) can't achieves the MMSE of the MB KF? the following is the results.
image

@XiaoyongNI
Copy link
Collaborator

Q1: It's under branch "architecure #1" of this "KalmanNet_TSP" repo.
Q2: Probably due to not enough training steps. Try to train for more epoches until KalmanNet converges.

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