zhixuhao / unet

unet for image segmentation
MIT License
4.6k stars 2k forks source link

error when running U-Net_2D_ZeroCostDL4Mic_BioImageModelZoo_export #238

Closed angcriswell closed 2 years ago

angcriswell commented 2 years ago

I am running the mentioned notebook. All is fine until step 5.2 when I get the following output: Model input size: 512x512 Number of dataset found in the folder: 30

100% 30/30 [00:02<00:00, 13.98it/s]

Running QC on: 8.png


FileNotFoundError Traceback (most recent call last)

in () 52 print('Running QC on: '+filename) 53 test_input = io.imread(os.path.join(Source_QC_folder, filename), as_gray=True) ---> 54 test_ground_truth_image = io.imread(os.path.join(Target_QC_folder, filename), as_gray=True) 55 56 (threshold_list, iou_scores_per_threshold) = getIoUvsThreshold(os.path.join(prediction_QC_folder, prediction_prefix+filename), os.path.join(Target_QC_folder, filename)) 6 frames /usr/local/lib/python3.7/dist-packages/imageio/core/request.py in _parse_uri(self, uri) 381 # Reading: check that the file exists (but is allowed a dir) 382 if not os.path.exists(fn): --> 383 raise FileNotFoundError("No such file: '%s'" % fn) 384 else: 385 # Writing: check that the directory to write to does exist FileNotFoundError: No such file: '/content/gdrive/MyDrive/Data/membrane/membrane-model/Quality Control/Prediction/8.png'
angcriswell commented 2 years ago

I am using the provided membrane test data set