question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Enhance error message according to feedback in Youtube channel

See original GitHub issue

Is your feature request related to a problem? Please describe. Thanks for the great tutorial in Youtube: https://www.youtube.com/watch?v=M3ZWfamWrBM. The author shared several ideas “need to improve” in MONAI:

  1. When the file path is wrong, MONAI doesn’t say where it is wrong.
  2. When the key is missing, MONAI doesn’t say which transform is missing the key.
  3. Need to highlight ITKReader can support DICOM and DICOM series, otherwise, users think we only support NIfTI files.
  4. When some error happens in transforms, it prints all the data in the meta, it’s a mess especially in multiple workers.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
Nic-Macommented, Feb 2, 2022

For issue 2, enhanced the error message in PR: https://github.com/Project-MONAI/MONAI/pull/3759:

KeyError: 'Key `TEST` of transform `ScaleIntensityd` was missing in the data and allow_missing_keys==False.'

Thanks.

1reaction
wylicommented, Feb 2, 2022

for item 4 I guess it’s the multiprocessing that makes the duplicated error messages and it’s not very informative when the messages are printed without ordering, some samples of logs:

I feel we should remove the extra data logging unless we have a better way to do it (dump to temp file for each process separately?)

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to send feedback about YouTube from your computer
Want to help make YouTube better? Your feedback goes directly to YouTube and we use it to troubleshoot bugs, make product improvements and ......
Read more >
Send feedback - Computer - YouTube Help - Google Support
Open the YouTube app on your device. · On the watch page of any video, select Settings "" . · Select Feedback. ·...
Read more >
How the YouTube Algorithm Works in 2023 - Hootsuite Blog
Looking to increase your YouTube video views in 2023? Step one: find out what's new with the YouTube algorithm and how it ranks...
Read more >
Are you having video or audio playback issues?
Improve playback of the audio and video in your presentation. Get more information about ... Error message: Flash-embedded videos are no longer supported....
Read more >
Google Feedback
Help improve Google's products. Sending your feedback is very easy using Google Feedback. Just click Send feedback or Report a bug, enter a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found