-
Notifications
You must be signed in to change notification settings - Fork 9
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
a question in deepinsar.py #1
Comments
Hi @git97shunxin , I really appreciate your head up. The bug has been fixed. |
Hi,is there still a problem in the loss function?The calculation method in the loss function does not seem to match the formula(9) in the paper.I would appreciate it if you could check this question. |
Hi @git97shunxin , self.ae_r = self.batch_noisy_r[slice_index] - self.build_ae(
self.features, is_train=True, reuse=reuse, name="dae_r", depth=self.config.fe_depth, ef_dim=self.config.fe_dim)
self.ae_i = self.batch_noisy_i[slice_index] - self.build_ae(
self.features, is_train=True, reuse=reuse, name="dae_i", depth=self.config.fe_depth, ef_dim=self.config.fe_dim)
self.ae_loss_r = (1 / 2.0) * tf.reduce_mean(tf.reduce_mean(tf.squared_difference(self.ae_r, self.batch_clean_r[slice_index]), axis=[1, 2, 3]))
self.ae_loss_i = (1 / 2.0) * tf.reduce_mean(tf.reduce_mean(tf.squared_difference(self.ae_i, self.batch_clean_i[slice_index]), axis=[1, 2, 3]))
|
Excuse me,In line 134 of the program, should "clean_real" and "real" be replaced with "clean_imag" and "imag" respectively?
The text was updated successfully, but these errors were encountered: