Closed murmurelo111 closed 1 year ago
Hi @murmurelo111,
Could you share how many samples (the --SAMPLE
argument) you are using currently? It looks like this error is due to trying to randomly sample 0 pairs, which should be avoided by this line.
Thanks.
Hi @murmurelo111,
Could you share how many samples (the
--SAMPLE
argument) you are using currently? It looks like this error is due to trying to randomly sample 0 pairs, which should be avoided by this line.Thanks.
I uesd 20
Hi @murmurelo111,
Thanks for the info. According to this issue, it is most likely that the pairs
list is empty. Please check whether you have set the path to the dataset correctly.
Best.
Hi @murmurelo111,
Thanks for the info. According to this issue, it is most likely that the
pairs
list is empty. Please check whether you have set the path to the dataset correctly.Best.
Thanks for reply! I have solved the problem by changing pairs = sorted(glob(f'{path}/PairAnnotation/{split}/*:{category}.json'))
to pairs = sorted(glob(f'{path}/PairAnnotation/{split}/*_{category}.json'))
Hi, I met the problem when I run pck_spair_pascal.py Would you mind to telling me how to fix the issue? Thanks!