pochih / CBIR

🏞 A content-based image retrieval (CBIR) system
613 stars 211 forks source link

run vggnet.py error #11

Open ucasiggcas opened 4 years ago

ucasiggcas commented 4 years ago

hi,Dear, When I run the script directly , tell me the error below,

D:\python\lib\site-packages\numpy\core\fromnumeric.py:3118: RuntimeWarning: Mean of empty slice.
  out=out, **kwargs)
D:\python\lib\site-packages\numpy\core\_methods.py:85: RuntimeWarning: invalid value encountered in double_scalars
  ret = ret.dtype.type(ret / rcount)
MMAP nan

Could you please tell me what happened and how to solve it ? Thx

ucasiggcas commented 4 years ago

and another problem

Using cache..., config=vgg19-avg, distance=d1, depth=3
D:\python\lib\site-packages\numpy\core\fromnumeric.py:3118: RuntimeWarning: Mean of empty slice.
  out=out, **kwargs)
D:\python\lib\site-packages\numpy\core\_methods.py:85: RuntimeWarning: invalid value encountered in double_scalars
  ret = ret.dtype.type(ret / rcount)
Class database\mm, MAP nan
MMAP nan

so they are the same ?? I only have a class

asparamancer commented 4 years ago

@ucasiggcas were you able to resolve these, specifically the last one from numpy?

tanjuntao commented 4 years ago

I got the same problem as you and I don't know how to resolve it either.

Hoping someone could tell me.

AliAsafPolat commented 4 years ago

Me neither. Need help please @pochih

donaldlee2008 commented 3 years ago

same problem

May-Yao commented 3 years ago

same problem

anhnhatuel commented 3 years ago

Same problem

SaadBazaz commented 3 years ago

Same problem

ghost commented 2 years ago

Try deleting vgg19* from /cache Or if you change data set in some way delete data.csv and run src/DB.py first

liushuping0528 commented 1 year ago

Try deleting vgg19* from /cache Or if you change data set in some way delete data.csv and run src/DB.py first

good