Skip to content
This repository has been archived by the owner on Jul 29, 2023. It is now read-only.

Inference figures overlays #155

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Inference figures overlays #155

wants to merge 2 commits into from

Conversation

JohannaRahm
Copy link
Contributor

Hi,
this PR is about changing the saved figures in the inference step. It now includes:

  • Shared colorbar of target and prediction to directly compare pixel values
  • Overlay(s) of input-prediction
  • Overlay(s) of input-target
  • The overlays are also saved as single figures

Best,
Johanna

Example old figure:
image

Example new figure:
image

Command: python /home/pwrai/microDL/microDL/micro_dl/cli/inference_script.py --config /gpfs/CompMicro/projects/virtualstaining/2022_microDL_nuc_mem/configfiles/tests/config_inference_test.yml --gpu 0

jennyfolkesson
jennyfolkesson previously approved these changes Jul 12, 2022
@jennyfolkesson jennyfolkesson dismissed their stale review July 12, 2022 11:56

Tests are failing

Copy link
Contributor

@jennyfolkesson jennyfolkesson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine with the changes but could you please fix the test before merging?
Broken test: tests.plotting.plot_utils_tests.test_save_predicted_images

@JohannaRahm
Copy link
Contributor Author

I will fix the tests once the issue of running tests is solved.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants