-
Notifications
You must be signed in to change notification settings - Fork 4
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
Filename error (Docker) #41
Comments
Hi @ncbss , thanks for your interest in DLMUSE! Admittedly, the images currently up on Docker Hub are not in a thoroughly tested state yet, and don't necessarily reflect the latest version. Nevertheless, we haven't seen this bus error before -- at a glance everything else is a downstream error of that. We will do some research on this issue and get back to you, probably with an updated image for you to pull. Tagging @spirosmaggioros , our local Mac expert. Could you try to replicate this using Docker on your Mac? |
Hi @ncbss, thank you for pointing out this issue, we have the same chip so im quite sure what is going on. nnUNetv2 uses 3d operations and the M1 chip is not very good at performing these operations. Also, i believe that the M1 macs are not emulating the x86 environment very good either. I don't work on the docker versions so i never tested it, but now that i did we have the same problem. What is happening is that the workers are failing in the background(notice that you have a Bus error) and then the output files aren't present in the next step. Also the docker image is not updated with the improvements i did in my last PR's, now the inference is parallelized and it might help with this. Give us and specifically @AlexanderGetka-cbica a moment to figure out if we can fix that. |
Hi @ncbss , I just pushed a version to Docker Hub under the following tag: Can you give this a try and see if it works for you? Of note, there are multiple options that might be useful. You can append them after the
To get the inference to work bare-minimum, I suggest values of 1 for all the above just to see, then gradually increasing values until you find something that works optimally for your system. If you could report back on this, that would be very helpful for us, too. |
Just to save you time following Alex's response, only the new M3 chip supports 3d convolution(that nnunetv2 performs), so you can't use MPS to run NiChart DLMUSE. Unfortunately only cuda offers a faster option. You can take a look at nnunet's documentation. I use a VM with A100 GPUs to run it. |
Is this resolved? |
Hi @ncbss, I just found another potential solution since I encountered this in my own environment. Try passing |
Thank you all for your helping! Just testing this out tonight. I will report back ASAP. |
Hi again! So, testing the new container
I get this error:
If I remove the flag
This is what my working directory looks like prior to running the code above:
|
Thanks for the detailed reporting! @spirosmaggioros it seems this is relevant to your parallelization code, but in retrospect we should probably avoid writing anything to the input dir. Let's discuss the approach tomorrow. @ncbss You might be able to try the previous version you tried, but with the |
@ncbss The issue you have here is that you only have one file and the default cores for the data splitting is 4, so, in order to just do one file you have to set "--cores 1", as for one file parallelization can't do any better than one core. It's my mistake to not take this into consideration, but i didn't expect single nifti files. Will update this for the newer PyPI version. Thanks for noticing. Quick update: I fixed the issue and will be merged soon, until then, if you have < 4 files please try to set --cores to 1. |
We will close this for now as the latest commit fix this issue. If any other issues appear we will reopen it. |
Hi there,
Thanks for all your work on developing DLMUSE! I am trying to use for some analysis in the lab and, during initial testing of the Docker container, an error occurred. Please see below:
Here's the command I used on Docker (version: 4.34.2 (167172)) on my MacBook Pro (Apple M1 Pro, Sequoia 15.0)
Here's the error:
Thanks for your help!
The text was updated successfully, but these errors were encountered: