cbddobvyz / digitaleye-mammography

Digital Eye for Mammography Toolkit and Benchmark
https://cbddo.gov.tr/en/projects/digital-eye-project/
GNU General Public License v3.0
63 stars 6 forks source link

[Errno 2] No such file or directory: 'D:\\digitaleye-mammography\\models\\ResUNet_breast.pth' #1

Closed erencsknn closed 6 months ago

erencsknn commented 7 months ago

Traceback (most recent call last): File "mass_inference.py", line 60, in crop_coordinates, img_shapes = apply_segmentation(seg_img_path, args.img_path, device) File "D:\digitaleye-mammography\utils\all_utils.py", line 238, in apply_segmentation seg_model = torch.load(path, map_location=torch.device(device)) File "C:\Anaconda\envs\digital_eye\lib\site-packages\torch\serialization.py", line 699, in load with _open_file_like(f, 'rb') as opened_file: File "C:\Anaconda\envs\digital_eye\lib\site-packages\torch\serialization.py", line 230, in _open_file_like return _open_file(name_or_buffer, mode) File "C:\Anaconda\envs\digital_eye\lib\site-packages\torch\serialization.py", line 211, in init super(_open_file, self).init(open(name, mode)) FileNotFoundError: [Errno 2] No such file or directory: 'D:\digitaleye-mammography\models\ResUNet_breast.pth'

böyle bir hatayla karşılaşıyorum projeyi segmentasyonsuz çalıştırmaya çalıştığımda da buna benzer bir hata almıştım otomatik modelleri indiremiyor sanırım manuel olarak indirip sorunu çözmüştüm ama ResUNet_breast.pth bu modeli projede bulamadım manuel olarak indirmek için