Skip to content

Commit

Permalink
example notebook created
Browse files Browse the repository at this point in the history
  • Loading branch information
ashesh-0 committed Apr 8, 2024
1 parent 70ce7d3 commit c6fd701
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions denoisplit/notebooks/example_training.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -604,16 +604,16 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 15,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Metric: Ch1\t Ch2\n",
" PSNR: 31.23\t 33.52\n",
" SSIM: 0.925\t 0.949\n"
"PSNR : 31.23\t 33.52\n",
"SSIM : 0.925\t 0.949\n"
]
}
],
Expand All @@ -628,8 +628,8 @@
" ]\n",
"ssim_list = compute_multiscale_ssim(highres_data.copy(), pred_unnorm.copy())\n",
"print('Metric: Ch1\\t Ch2')\n",
"print(f' PSNR: {psnr_list[0]:.2f}\\t {psnr_list[1]:.2f}')\n",
"print(f' SSIM: {ssim_list[0]:.3f}\\t {ssim_list[1]:.3f}')"
"print(f'PSNR : {psnr_list[0]:.2f}\\t {psnr_list[1]:.2f}')\n",
"print(f'SSIM : {ssim_list[0]:.3f}\\t {ssim_list[1]:.3f}')"
]
}
],
Expand Down

0 comments on commit c6fd701

Please sign in to comment.