fshnkarimi / LungTumor-Segmentation

Automatically segment lung cancer in CTs
16 stars 0 forks source link

Input type (double) and bias type (float) should be the same #1

Open NastiaFasova opened 1 year ago

NastiaFasova commented 1 year ago

Hello! I`m using your repository for educational purposes and experience an issue: Input type (double) and bias type (float) should be the same I suppose this may occur because of different versions of libraries. Could you, please, add the requirements with versions of the libraries for this project?

image

sempereforever commented 11 months ago

Hi! We've been having the same problem, did you find any solution?

sszzz830 commented 8 months ago

Adding '.astype(np.float32)' to function getitem in dataset.py will solve.

Screenshot 2024-02-15 at 21 34 58

(Line 65, after 'slice=....') @NastiaFasova @sempereforever