Skip to content

Fixes issues related to using consecutive slices in MTLRS and SKMTEA#8

Open
TimPaquaij wants to merge 5 commits intowdika:mainfrom
TimPaquaij:multiple-echoes
Open

Fixes issues related to using consecutive slices in MTLRS and SKMTEA#8
TimPaquaij wants to merge 5 commits intowdika:mainfrom
TimPaquaij:multiple-echoes

Conversation

@TimPaquaij
Copy link

What does this PR do ?

Fixes implementation of consecutive slices in multi-task collection. Additionally, it adds the possibility to run multiple echoes in one inference.
Collection: Multi-task

Changelog

Usage

SKMTEA Example

model:
  consecutive_slices: 3
  dimensionality: 2
  coil_dim: 2
  num_echoes: 2

  train_ds:
    dataset_format: skm-tea-echo1-echo2
    consecutive_slices: 3
    coil_dim: 3

  validation_ds:
    dataset_format: skm-tea-echo1-echo2
    consecutive_slices: 3
    coil_dim: 3

Before your PR is "Ready for review"

Pre checks:

  • Make sure you read and followed Contributor guidelines
  • Did you write any new necessary tests?
  • Did you add or update any necessary documentation?
  • Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
    • Reviewer: Does the PR have correct import guards for all optional libraries?

PR Type:

  • New Feature
  • Bugfix
  • Documentation

If you haven't finished some of the above items you can still open "Draft" PR.

Who can review?

Anyone in the community is free to review the PR once the checks have passed.
Contributor guidelines contains specific people who can review PRs to various areas.

Additional Information

  • Related to # (issue)

**.DS_Store

Changed loaders to get multiple echoes for skmtea

Added num_echoes in base

include consecutative slices and double echo

added consecutative and finalised echo

Update on consecutatiive slices and echoes still error in target reconstruction

Update

Train and val + plotting works

Validation and Training passed with SSIM

fixed test script and hx can be an empty list or none

Update Spacing

Update test_step

update to prevent diffeculties with merging

Update base.py and mtlrs.py

remove print and update log_indices to test plotting

Update SSIM with batch size

Update base.py

update style base.py

update requirements.txt
@github-actions github-actions bot added the Stale label Dec 11, 2024
@github-actions github-actions bot closed this Dec 19, 2024
@wdika wdika reopened this Jan 9, 2025
@github-actions github-actions bot removed the Stale label Jan 10, 2025
@github-actions github-actions bot added the Stale label Jan 25, 2025
@github-actions github-actions bot closed this Feb 1, 2025
@wdika wdika reopened this Feb 10, 2025
@github-actions github-actions bot removed the Stale label Feb 11, 2025
@github-actions github-actions bot added the Stale label Feb 25, 2025
@github-actions github-actions bot closed this Mar 4, 2025
@wdika wdika reopened this Mar 6, 2025
@github-actions github-actions bot removed the Stale label Mar 7, 2025
@github-actions github-actions bot added the Stale label Mar 21, 2025
@github-actions github-actions bot closed this Mar 28, 2025
@wdika wdika reopened this Mar 28, 2025
@github-actions github-actions bot removed the Stale label Mar 29, 2025
@github-actions github-actions bot added the Stale label Apr 12, 2025
@github-actions github-actions bot closed this Apr 20, 2025
@wdika wdika reopened this Apr 22, 2025
@wdika wdika removed the Stale label Apr 22, 2025
prediction = prediction[-1][-1][-1]
loss = compute_reconstruction_loss(target, prediction, sensitivity_maps)
if self.consecutive_slices > 1:
loss = compute_reconstruction_loss(

Check warning

Code scanning / CodeQL

Variable defined multiple times Warning

This assignment to 'loss' is unnecessary as it is
redefined
before this value is used.
Copy link
Owner

Choose a reason for hiding this comment

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

@wdika check this, atm line 323 will overwrite 318 loss computation

@wdika wdika added the help wanted Extra attention is needed label Apr 22, 2025
@github-actions github-actions bot added the Stale label May 7, 2025
@wdika wdika removed the Stale label May 7, 2025
@github-actions github-actions bot added the Stale label May 22, 2025
@github-actions github-actions bot closed this May 29, 2025
@wdika wdika removed the Stale label May 30, 2025
@wdika wdika reopened this Jun 17, 2025
@github-actions github-actions bot added the Stale label Jul 2, 2025
@wdika wdika removed the Stale label Jul 2, 2025
@github-actions github-actions bot added the Stale label Jul 17, 2025
@github-actions github-actions bot closed this Jul 24, 2025
@wdika wdika reopened this Oct 7, 2025
Repository owner deleted a comment from github-actions bot Dec 8, 2025
Repository owner deleted a comment from github-actions bot Dec 8, 2025
Repository owner deleted a comment from github-actions bot Dec 8, 2025
Repository owner deleted a comment from github-actions bot Dec 8, 2025
Repository owner deleted a comment from github-actions bot Dec 8, 2025
Repository owner deleted a comment from github-actions bot Dec 8, 2025
Repository owner deleted a comment from github-actions bot Dec 8, 2025
Repository owner deleted a comment from github-actions bot Dec 8, 2025
Repository owner deleted a comment from github-actions bot Dec 8, 2025
Repository owner deleted a comment from github-actions bot Dec 8, 2025
Repository owner deleted a comment from github-actions bot Dec 8, 2025
Repository owner deleted a comment from github-actions bot Dec 8, 2025
Repository owner deleted a comment from github-actions bot Dec 8, 2025
Repository owner deleted a comment from github-actions bot Dec 8, 2025
Repository owner deleted a comment from github-actions bot Dec 8, 2025
Repository owner deleted a comment from github-actions bot Dec 8, 2025
Signed-off-by: Dimitris Karkalousos <d.karkalousos@amsterdamumc.nl>
@github-actions github-actions bot removed the common label Dec 22, 2025
@github-actions github-actions bot removed the REC label Dec 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

help wanted Extra attention is needed MTL Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants