Skip to content
Discussion options

You must be logged in to vote

Hi @KumoLiu. Thanks again for your input.
I used many variations of the code you provided. With your help, I managed to solve the issue by changing only the slice-related code line to:

plt.imshow(val_outputs[0, 2, 80].detach().cpu())

now the second index accepts segmented IDs (0, 1, and 2), and the last index is the slice number. For some reason, the : syntaxing doesn't work in my pipeline.

I do appreciate your help!

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Kiarashdnsh
Comment options

@KumoLiu
Comment options

@Kiarashdnsh
Comment options

Answer selected by Kiarashdnsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants