Skip to content

Commit c43f3b3

Browse files
committed
removed motion corruption code
1 parent 75968f6 commit c43f3b3

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

phiseg_test_predictions.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,6 @@ def main(model_path, exp_config, do_plots=False):
4848

4949
x, y = batch
5050

51-
# Adding motion corrpution
52-
# x = utils.add_motion_artefacts(np.squeeze(x), 15)
53-
# x = x.reshape([1] + list(exp_config.image_size))
54-
55-
# Add box corruption
56-
# x[:, 192 // 2 - 20:192 // 2 + 20, 192 // 2 - 5:192 // 2 + 5, :] = 0
57-
5851
y_ = np.squeeze(phiseg_model.predict(x, num_samples=num_samples))
5952

6053
per_lbl_dice = []

0 commit comments

Comments
 (0)