-
Notifications
You must be signed in to change notification settings - Fork 2
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
hc-leipzig-7t-mp2rage graphs #76
base: main
Are you sure you want to change the base?
Conversation
training/hc-leipzig-7t-mp2rage/plot_nnunet_different_training_logs.py
Outdated
Show resolved
Hide resolved
training/hc-leipzig-7t-mp2rage/plot_nnunet_different_training_logs.py
Outdated
Show resolved
Hide resolved
training/hc-leipzig-7t-mp2rage/plot_nnunet_different_training_logs.py
Outdated
Show resolved
Hide resolved
parser.add_argument( | ||
'-spinal-level', | ||
required=True, | ||
nargs='+', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean that the script supports plotting for multiple levels?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was the original idea, but it's not implemented yet.
custom_palette = ["#1f78b4", "#fb9a99", "#e31a1c"] | ||
|
||
elif num_classes == 4: | ||
custom_palette = ["#a6cee3", "#1f78b4", "#fb9a99", "#e31a1c"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe you can define directly a palette with 4 (or more colours), and seaborn will automatically use only the required number of colours. For example, in the case of num_classes == 2
, seaborn will automatically use only the first two colours. But this needs to be tried.
…logs.py Co-authored-by: Jan Valosek <[email protected]>
…logs.py Co-authored-by: Jan Valosek <[email protected]>
This PR is about adding new scripts for visualization of training logs and testing.