mseitzer / pytorch-fid

Compute FID scores with PyTorch.
Apache License 2.0
3.34k stars 506 forks source link

Invalid path error HELP PLS #110

Open aramirezf05 opened 5 months ago

aramirezf05 commented 5 months ago

Hi, I'm trying to execute FDI to compare two images. When I execute i get this error, someone knows how to fix it? Thanks!

File "C:\Users\ANGEL\anaconda3\Lib\site-packages\pytorch_fid\fid_score.py", line 253, in calculate_fid_given_paths raise RuntimeError('Invalid path: %s' % p) RuntimeError: Invalid path: [[[[ 38 27 23] [ 29 18 14] [ 29 18 14] ... [ 45 18 7] [ 53 24 8] [ 74 43 23]]

[[ 27 16 12] [ 17 6 2] [ 17 6 2] ... [ 33 6 0] [ 45 13 0] [ 64 31 12]]

[[ 25 14 10] [ 15 4 0] [ 13 2 0] ... [ 37 9 0] [ 54 22 7] [ 76 41 22]]

...

[[106 18 14] [ 92 7 2] [ 95 12 6] ... [ 18 0 0] [ 18 2 2] [ 27 11 11]]

[[105 17 13] [ 99 11 7] [103 18 13] ... [ 20 2 2] [ 21 5 5] [ 30 14 14]]

[[114 25 21] [107 19 15] [106 21 16] ... [ 32 14 14] [ 32 16 16] [ 42 26 26]]]]