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

How to calculate the loss for imperfect CSI case? #2

Open
SharonWxy opened this issue May 24, 2019 · 5 comments
Open

How to calculate the loss for imperfect CSI case? #2

SharonWxy opened this issue May 24, 2019 · 5 comments

Comments

@SharonWxy
Copy link

First I’d like to thank you very much for providing the code online for further learning. Then, if you get some time, may I ask some questions regarding your code? I put my question here as following:

  1. For imperfect CSI case, to calculate the loss, do you use the true H, or the estimated H? I think it should be the true H, right?
  2. If you use the real H, how do you pass the value of true H to the self-defined loss function?

I really appreciate your reply, and thank you very much in advance.

@TianLin0509
Copy link
Owner

  1. For imperfect CSI case, we calculate the loss with the true H during the offline training. (Noticed when deployed online, it is not needed).
  2. In this code, we use the input layer of Keras to input the true H, which is directly used to compute the loss. (Only used to compute loss and did not through the neural network, so when deployed online, i.e., the testing procedure, only imperfect CSI is needed to fed into the BFNN to compute the analog beamformer.
  3. Thank you for your approval of this work.

@SharonWxy
Copy link
Author

Thank you very much.~

@AlirezaJahanbakhshi
Copy link

Dear Mr. Lin,
I also have question about calculation of loss function. would you please tell where did you exactly calculate loss function in your code?
I appreciate your kind cooperation

@TianLin0509
Copy link
Owner

TianLin0509 commented Feb 25, 2020 via email

@AlirezaJahanbakhshi
Copy link

Thank you very much for your answer.

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