Skip to content
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

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

KaterinaKrejci231054
Copy link
Contributor

This PR is about adding new scripts for visualization of training logs and testing.

parser.add_argument(
'-spinal-level',
required=True,
nargs='+',
Copy link
Member

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?

Copy link
Contributor Author

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"]
Copy link
Member

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.

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

Successfully merging this pull request may close these issues.

2 participants