Code Monkey home page Code Monkey logo

Comments (5)

Kratos028 avatar Kratos028 commented on August 16, 2024 1

Just do this change in line 141 in helpers.py
word = each.split('\\')[-1] instead of word = each.split('\')[-1] for python 3 because the '\\' means regular expression's special character."\\" will remove the meaning of special character.

from bag-of-visual-words-python.

abdullahhacettepe avatar abdullahhacettepe commented on August 16, 2024

Probably cant find the images. Do not forget to change format at the helper.py.

for imagefile in glob(path+key+"/*.png"):

from bag-of-visual-words-python.

roburst2 avatar roburst2 commented on August 16, 2024

helpers.py 143
replace with below line
word = each.split("\")[-1]

from bag-of-visual-words-python.

nys09 avatar nys09 commented on August 16, 2024

When defining the class BOV, should I leave self.images=None? Or should I change it? I am getting the same error vStack = np.array(l[0]) IndexError: list index out of range.
I figured that my images are not being read as indicated by self.descriptor_list has a size 0.

Kindly help me with this error.

from bag-of-visual-words-python.

Kratos028 avatar Kratos028 commented on August 16, 2024

that is because imlist array is empty

from bag-of-visual-words-python.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.