Giter Club home page Giter Club logo

Comments (3)

mzucker avatar mzucker commented on July 22, 2024

I tried running the script on the photo you attached, and it worked fine.

"notescan" is simply the original name of the repo/project before it was noteshrink, it has now been changed in the requirements.txt.

Not sure why this error is occurring. What output do you see if you insert the line

print '*** image has shape', img.shape, '***'

immediately before line 340?

from noteshrink.

rachmadaniHaryono avatar rachmadaniHaryono commented on July 22, 2024
(Pdb) img.shape
()
(Pdb) type(img.shape)
<type 'tuple'>

update :

i tried once again and now with virtualenv and it is working after i installing noteshrink from requirements. it seems like i can't run noteshrink.py directly without installing it first. is it expected behaviour?

package that installed in my python (non venv)

Pillow==3.3.1
image==1.5.4
numpy==1.11.1
scipy==0.18.1

from noteshrink.

mzucker avatar mzucker commented on July 22, 2024

That's not expected behavior, but I don't quite know why that might be the case. I'm guessing that it's a difference between one of the package versions in your environment and mine, but can't for the life of me think of what it might be.

Closing this for now because you found a work-around.

from noteshrink.

Related Issues (20)

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.