-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Update cucim dependency for cucim transforms #2987
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
Conversation
wyli
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
looks like there are some changes in the API? https://github.com/Project-MONAI/MONAI/pull/2987/checks?check_run_id=3663775638#step:7:14689
|
@wyli I've been looking into this and it does not happen on my local with the same version of cucim. I re-ran the test to see if it persists. I'll further look into it once the tests are done. |
|
I can confirm that there is no API changes. There is not any issue with our tests on actual TIF files. The issue is when we are using simple uncompressed TIF files that are crated using PIL. I'm contacting cucim development team to find a way out for our cucim tests. |
|
@wyli as you mentioned there are two issues here:
The first one should be resolved by the new commits here. I had a meeting with cuCIM team and it seems the second issue is related to CUDA version, where cuCIM works with CUDA>11.0, thus #2999. |
c9a1ecc to
2244f44
Compare
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
5652daa to
a102ab7
Compare
|
closing this in favor of #3006 |
Pull request was closed
) - Add `cucim.is_available()` method Users can query if a specific module is available or not. For example, if cucim.clara module which requires C shared library is not available: ``` >>> import cucim >>> cucim.is_available() False >>> cucim.is_available("skimage") True >>> cucim.is_available("core") True >>> cucim.is_available("clara") False ``` Resolves #104 Supports Project-MONAI/MONAI#2987 Authors: - Gigon Bae (https://github.com/gigony) Approvers: - Gregory R. Lee (https://github.com/grlee77) - https://github.com/jakirkham URL: #107
Due to #17 ([BUG] Compression scheme 33003 tile decoding is not implemented), #19 (Check compression method used in the image) was merged so cuCIM has been handling only particular formats (only jpeg/deflate-compressed image). If the input TIFF image has no-compressed RAW tile image, cuCIM showed the following error message: > RuntimeError: This format (compression: 1, sample_per_pixel: 1, planar_config: 1, photometric: 1) is not supported yet!. https://github.com/Project-MONAI/MONAI/pull/2987/checks?check_run_id=3667530814#step:7:15641 This patch is to support raw RGB tiled TIFF with fast-path, re-allowing non-compressed image with slow-path (in case the input is not tiled RGB image). This supports Project-MONAI/MONAI#2987. Authors: - Gigon Bae (https://github.com/gigony) Approvers: - Gregory R. Lee (https://github.com/grlee77) - https://github.com/jakirkham URL: #108
Description
This PR updates the cucim dependency to support cuCIM Transforms.
Status
Ready
Types of changes