-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
WSIReader defaults and tensor conversion #6058
Conversation
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]>
5fc3b15
to
d48d3c9
Compare
Signed-off-by: Behrooz <[email protected]>
/black |
/build |
@Nic-Ma it seems that blossom test has failed but I cannot see what has happened. How can I get the visibility on that? Thanks |
Hi @drbeh , I think the error is as below:
Thanks. |
Signed-off-by: Behrooz <[email protected]>
/build |
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
@Nic-Ma I am making few changes. Please hold on a bit. Thanks |
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]>
@Nic-Ma it is ready, and has passed all the tests locally. Thanks |
/build |
/build |
@Nic-Ma @wyli @ericspod do you have any idea why The only thing that I can think of is memory limit since TiffFile loads the entire image unlike other backends (cucim and openslide). However, the same test are going well on Mac Do we have different memory limits on the instances that Mac and Ubuntu quick tests are running? |
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
/build |
it seems the memory issue is still here https://github.com/Project-MONAI/MONAI/actions/runs/4418529796/jobs/7745780000 could you please have a look soon @drbeh it might block 1.2rc releases... cc @Nic-Ma @KumoLiu |
@wyli I'll make a PR to make all the test to use the lowest resolution so we can save memory and time. |
Fixes #6056
Description
This PR enable to instantiate
WSIReader
classes with default values formode
anddtype
. It also acceptstorch.dtype
as dtype and iftorch.dtype
is provided, the output will be atorch.Tensor
to avoid additional step to convert the output for inference.Types of changes
./runtests.sh -f -u --net --coverage
../runtests.sh --quick --unittests --disttests
.