-
Notifications
You must be signed in to change notification settings - Fork 83
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
Need assistance with running Pathml package via Colab or Docker and resolving errors #350
Comments
So from what I can see in the notebook, the image has 28 channels total, and you want to use the last channel as the cytoplasm channel? If so, then you would use index 27 ( The crashing jupyter kernel is harder to diagnose. Maybe it could be due to memory constraints of your machine and holding too much data in memory at once. |
Hello @jacob-rosenthal , I appreciate your previous assistance. However, I'm currently encountering additional issues. Please refer to the following information: ` ` `--------------------------------------------------------------------------- 16 frames error: Error -3 while decompressing data: invalid block type`
|
I've never seen that before. Not sure what is causing it. Seems likely that it's due to some incompatibility between dask and colab. I'd suggest trying with |
I have followed your suggestion, but now I am encountering a new issue. `WARNING:tensorflow:No training configuration found in save file, so the model was not compiled. Compile it manually. See the tutorial for concat at: https://anndata.readthedocs.io/en/latest/concatenation.html The execution of my code, specifically the line "# |
The warnings should be fine to ignore. The workflow in the colab notebook you posted looks fine to me. You can refer to the example vignettes in the documentation - they're at https://pathml.readthedocs.io/ under the "examples" section. Runtime will depend on several factors, including computational resources of the environment you are running it in, size of the input data, what steps are in the pipeline, etc. In this case, inference is being run with the mesmer model for every tile which could be relatively slow. From my experience, 10min is not out of the ordinary; I have run the same pipeline on large images taking up to 24hrs. |
I understand. I'll let the process continue running for a while, and I'll keep you updated on any progress or developments. |
I have encountered some difficulties while attempting to use the Pathml package via both Colab and Docker. I am unable to run my script or use my own file to execute the script successfully. I would appreciate any guidance or assistance in resolving these problems.
When using Docker, I am experiencing frequent crashes. The error message I receive is as follows:
On the other hand, when I run the code via Colab, I encounter an issue in the following section:
slidedata.run(pipe, distributed=False, tile_pad=False);
The error message associated with this problem is as follows:
IndexError: index 28 is out of bounds for axis 3 with size 28.
To provide more context, I have formatted the QuPath output, and I have made the file accessible through the following link: https://colab.research.google.com/drive/12Iz2ov-GojJ-0zzRrsxHNfn53LqfhhCz?usp=sharing.
https://docs.google.com/spreadsheets/d/13Ipoo2prIIK9xt8rF8Nuj9X-dXXTrIeK/edit?usp=sharing&ouid=117700413165074195674&rtpof=true&sd=true, https://drive.google.com/file/d/1BPVAWpe4ZyxIDSzPADo2uI8VSrAGq4v5/view?usp=sharing, https://drive.google.com/file/d/1DKvEnoEtO82AN3IYvmBCLEVJQXUTFDaR/view?usp=sharing
I would greatly appreciate any guidance or assistance in troubleshooting and resolving these issues. Thank you for your time and support.
The text was updated successfully, but these errors were encountered: