Open csas-bowen opened 1 year ago
Hi,
For the first error, you can just comment out the Line 160 of run_all_methods (i.e., comment out save_sas_plot(task['gt'], os.path.join(meth_save_dir, 'gt.png'). There is no ground truth image for the airsas reconstructions since it is real data.
For the second error, I think this is a version mismatch between our codes. It seems structural_similarity wants a data_range parameter (like in this example https://scikit-image.org/docs/stable/auto_examples/transform/plot_ssim.html)
I really appreciate your personal guidance and help, with which I managed to run through the code. In fact, I am a beginner in CSAS, and now I have some questions about the experimental results that I want to communicate and discuss with you and I look forward to your guidance.
Various deconvolution methods give the same results as in your post when running the airsas data with a bandwidth of 20kHz. However, when running the 5kHz airsas data, the deconvolution result of the sinr method is not normal, while other methods are normal.
The inr parameter settings for Airsas are as follows:
I noticed that the sinr deconvolution result of SLc13 you provided in the code shows that the result keeps improving as the epoh increases,but when i conducting SLc13 simulation, the deconvolution results of the SINR method will first increase and then decrease with the increase of epoh, with psnr and ssim showing the best results around epoh=1100, and there will be errors in the deconvolution results later on. The inr parameter settings for slc13 are as follows:
Yes the results sometimes become worse at higher iterations if the network starts to overfit. In those cases you can use early stopping.
I am not positive why the 5kHz AirSAS result isn't working. Make sure you are setting the scene_dir and bg_dir correctly:
SIZE_W, SIZE_H = 400, 400
# AirSAS measurements to be reconstructed
scene_dir = 'airsas_data/small_features_cutout_5k'
# AirSAS measurements of empty scene
bg_dir = 'airsas_data/bg_5k'
If that doesn't help, set SAVE_EVERY=5 and send me the results so I can look. You can email me at awreed@asu.edu
Also you may be interested in our follow up work:
https://github.com/awreed/Neural-Volumetric-Reconstruction-for-Coherent-SAS
When I run these two pieces of code, I will get the following two errors respectively. How should I solve it?