SBU-BMI / wsinfer

🔥 🚀 Blazingly fast pipeline for patch-based classification in whole slide images
https://wsinfer.readthedocs.io
Apache License 2.0
57 stars 10 forks source link

conversion to SBU format is broken #186

Closed kaczmarj closed 7 months ago

kaczmarj commented 1 year ago

At the moment, this error is raised, and I assume there will be other errors as well if that one is fixed:

  File "/xxxxxxx/wsinfer/cli/convert_csv_to_sbubmi.py", line 342, in tosbu
    class_names: list[str] = run_metadata["model_weights"]["class_names"]
KeyError: 'model_weights'
kaczmarj commented 1 year ago

@swaradgat19 - could you please look into this?

kaczmarj commented 1 year ago

the conversion script also needs to be updated to glob multiple image file types, not just SVS files.

swaradgat19 commented 1 year ago

Sure. I'll look into it

swaradgat19 commented 1 year ago

@kaczmarj Could you tell me a little about execution-id, study-id and make-color-text fields in the tosbu command?

kaczmarj commented 1 year ago

kaczmarj Could you tell me a little about execution-id, study-id and make-color-text fields in the tosbu command?

of course, i will be honest, i am a bit fuzzy about this format. i learned about the format by reviewing the structure of several existing files.

let me know if you have any other questions.

swaradgat19 commented 1 year ago

Got it. So if I want to run this tosbu command, what should I put as the execution-id?

kaczmarj commented 1 year ago

for now, use a UUID. i show how to make one in python below:

import uuid
execution_id = str(uuid.uuid4())
kaczmarj commented 7 months ago

closed in favor of #113