openmedlab/MedLSAM

Using own dataset

Opened this issue · 1 comments

I was trying to use my dataset,but the code will get wrong at data_process_func line95(getting the zero point),i always get the value-error(zero-size array to reduction operation maximum which has no identity).I'am wondering does your dataset do preprocessing or some label i didn't notice.Is there any alternative solution?thanks.

I was trying to use my dataset,but the code will get wrong at data_process_func line95(getting the zero point),i always get the value-error(zero-size array to reduction operation maximum which has no identity).I'am wondering does your dataset do preprocessing or some label i didn't notice.Is there any alternative solution?thanks.

hi,
did you specify the fg_class in your configuration file? It should be the same value as your interested class in the label file.