Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in get_flatened_images() #1

Open
bintykhany opened this issue Jun 12, 2019 · 1 comment
Open

error in get_flatened_images() #1

bintykhany opened this issue Jun 12, 2019 · 1 comment

Comments

@bintykhany
Copy link

Hi,
i already have MIAS dataset in JPEG form downloaded from net. when i run your code on that it will generate error as follow:

FileNotFoundError Traceback (most recent call last)
in ()
1 print(_imgPath)
----> 2 images = get_flatened_images(_imgPath)
3 #images = _imgPath
4 #print(images)
5 labels = gen_labels(_labelsPath)

2 frames
/usr/local/lib/python3.6/dist-packages/PIL/Image.py in open(fp, mode)
2528
2529 if filename:
-> 2530 fp = builtins.open(filename, "rb")
2531 exclusive_fp = True
2532

FileNotFoundError: [Errno 2] No such file or directory: '/content/drive/My Drive/Datasets/MIAS-JPEG/MIAS-JPEG001.jpg'

in function get_flatened_images..
I am new to this feild and to python as well.
wait for kind response

@issamhas
Copy link
Owner

issamhas commented Sep 11, 2019

Hi @bintykhany, sorry for the delay I just saw this. I haven't run this project in quite a while, but it seems like it's unable to find the filename. Does the directory in the error match the location where you've stored the files?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants