IMSY-DKFZ / htc

Semantic organ segmentation for hyperspectral images.
Other
31 stars 6 forks source link

[Question] Tutorial General.ipynb #39

Open AyaHageChehade opened 2 days ago

AyaHageChehade commented 2 days ago

:question: Question

Description

Hi there,

Thank you for your tutorials.

I have a question about General.ipynb. Everything works fine in the notebook until Advanced data loading. I kept everything as indicated in the notebook, as well as the same dataset. I have not change anything, just trying to reproduce the same results. But it seems like dataset[0] does not work for me. It return this error:

Capture d’écran 2024-10-24 162217

This is a snipet of my paths:

paths

It looks like every thing works fine but I still get the error like the paths are empty. Can you please advise me what should I do, or what is exactly the error refers to ?

Thanks a lot !

JanSellner commented 2 days ago

This looks like a path environment variable issue. I guess that either PATH_Tivita_HeiPorSPECTRAL or PATH_HTC_RESULTS is not set properly. In your case, the path to the dataset should be set to PATH_Tivita_HeiPorSPECTRAL=/media/nas/Aya/HeiPorSPECTRAL/HeiPorSPECTRAL and PATH_HTC_RESULTS should be set to a directory of your choice. You can check via htc info whether the paths are registered correctly.