https://github.com/willard-yuan/pcv-book-code/blob/master/PCV/PCV/imagesearch/imagesearch.py#L58 ``` self.con.execute("insert into imwords(imid,wordid,vocname) values (?,?,?)", (imid,word,self.voc.name)) ``` 这行程序是不是有问题,这种写法写入数据库的不是wordid,而是每个image直方图中word的个数。
https://github.com/willard-yuan/pcv-book-code/blob/master/PCV/PCV/imagesearch/imagesearch.py#L58
这行程序是不是有问题,这种写法写入数据库的不是wordid,而是每个image直方图中word的个数。