You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've downloaded the code and replace the img_path to my own image. However, it gives me an error that: NameError: global name 'img' is not defined
Apparently it's because img has been commented out in the test function. And I saw that the first argument in gist function is image_path so I changed print gist(img) function call to print gist(img_path) but it still give me an error at line items *= arr.shape[ax]: IndexError: tuple index out of range. I've attached the stack trace as image.
I'm kind of stucked here. Any thought?
Thank you very much for the great library BTW.
The text was updated successfully, but these errors were encountered:
Hey, thanks for replying. I'm still getting the same error (tuple index out of range as previous screenshot). What version of numpy you're using? I'm using numpy 1.8.0 on Mac OSX. Or can you upload the sea.jpg so that I can have the same data with you.
Hi there,
I've downloaded the code and replace the
img_path
to my own image. However, it gives me an error that:NameError: global name 'img' is not defined
Apparently it's because
img
has been commented out in thetest
function. And I saw that the first argument ingist
function isimage_path
so I changedprint gist(img)
function call toprint gist(img_path)
but it still give me an error at lineitems *= arr.shape[ax]
:IndexError: tuple index out of range
. I've attached the stack trace as image.I'm kind of stucked here. Any thought?
Thank you very much for the great library BTW.
The text was updated successfully, but these errors were encountered: