Traceback (most recent call last):
File "inference_images.py", line 108, in <module>
A.PairApply(T.ToTensor())
File "/home/mylaptop/Downloads/BackgroundMattingV2/dataset/zip.py", line 11, in __init__
assert len(datasets[i]) == len(datasets[i - 1]), 'Datasets are not equal in length.'
AssertionError: Datasets are not equal in length.
That tells you your myimages/ and back/ directories contain different numbers of images. They need to have the same amount of images to have a one-to-one correspondence.
Thanks for nice work.I am running the file 'inference_images.py'
I am getting the following error