openslide / openslide-python

Python bindings to OpenSlide
https://openslide.org/
GNU Lesser General Public License v2.1
368 stars 180 forks source link

Detecting mitosis from whole slide images(MIDOG21 Challenge) #279

Open noor-alzoubi opened 12 hours ago

noor-alzoubi commented 12 hours ago

Operating system

windows

Platform

64

OpenSlide Python version

1.3.1

OpenSlide version

4.0.0

Slide format

tiff

Issue details

OSError: [Errno 22] Invalid argument: '<PIL.Image.Image image mode=RGB size=512x512 at 0x18D71EA6E50>'

bgilbert commented 11 hours ago

Could you post the relevant portion of the backtrace and code?

noor-alzoubi commented 10 hours ago

I don't understand you. This is the first time I'm asking a question here because I need an answer. I wanted to run some code on github for research purposes and came across this error, but I couldn't fix it. I was looking for solutions, so I'm asking this error so I can find suggestions to fix it.

On Tue, Oct 1, 2024, 12:40 AM Benjamin Gilbert @.***> wrote:

Could you post the relevant portion of the backtrace and code?

— Reply to this email directly, view it on GitHub https://github.com/openslide/openslide-python/issues/279#issuecomment-2384190455, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6NEICXMFQ2XQZ6424F5MDLZZHAL7AVCNFSM6AAAAABPEGBHDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBUGE4TANBVGU . You are receiving this because you authored the thread.Message ID: @.***>

bgilbert commented 8 hours ago

You did not give enough information to understand what the problem is. Your error message included additional lines of text, so please post those too. Also post a link to the code you found on GitHub, or paste the lines of code that cause the error.