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

notebook demo error. #6

Open
piperod opened this issue Dec 19, 2019 · 0 comments
Open

notebook demo error. #6

piperod opened this issue Dec 19, 2019 · 0 comments

Comments

@piperod
Copy link
Collaborator

piperod commented Dec 19, 2019

When running cell, this fragment is generating an error:
``
InvalidArgumentError: Expected image (JPEG, PNG, or GIF), got unknown format starting with 'II*\000\010\000\000\000\033\000\376\000\004\000\001\000'
[[{{node DecodeJpeg}}]] [Op:IteratorGetNextSync]

During handling of the above exception, another exception occurred:

NameError Traceback (most recent call last)
in ()
32 except InvalidArgumentError as e:
33 invalid_flag = 0
---> 34 for j, fname in enumerate(filenames):
35 fname = fname.numpy().decode('utf-8')
36 if os.path.isfile(fname):
``
NameError: name 'filenames' is not defined : JPEG, PNG, or GIF.

It seems .tiff is generating the error, should we convert the images to formats?

JacobARose added a commit that referenced this issue Sep 15, 2020
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

1 participant