Closed petrov826 closed 3 years ago
When running 07_Binary_Segmentation.ipynb, the cell dls = binary.dataloaders(path/'images_data_crop', bs=8) gives an error
dls = binary.dataloaders(path/'images_data_crop', bs=8)
<ipython-input-22-cd6c82b0e03c> in <lambda>(o) ----> 1 get_y = lambda o: get_msk(o, p2c) NameError: name 'p2c' is not defined
I could solve this issue by changing the above cell vals = n_codes(lbl_names) to p2c = n_codes(lbl_names).
vals = n_codes(lbl_names)
p2c = n_codes(lbl_names)
When running 07_Binary_Segmentation.ipynb, the cell
dls = binary.dataloaders(path/'images_data_crop', bs=8)
gives an errorI could solve this issue by changing the above cell
vals = n_codes(lbl_names)
top2c = n_codes(lbl_names)
.