-
Notifications
You must be signed in to change notification settings - Fork 372
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
cannot identify image file <_io.BytesIO object at 0x7f5d0c1f5780> #2
Comments
You have to copy the image address, I will upload an instruction video soon. I have done it for you, Please try it out. |
ok, But how to use my own photo as input |
You will have to upload it to imgur.com or any other website, copy the direct link(something that ends with .jpg). I I know it is difficult as I have not created an app, will do it soon. Hope you have a good photo with simple background. |
Ok, thank you |
I try it use my own photo by modify follow code: img_t = T.ToTensor()(img) img_fast = Image(img_t) show_image(img_fast, figsize=(7,7), interpolation='nearest'); print(img_fast) p,img_hr,b = learn.predict(img_fast) Image(img_hr).show(figsize=(7,7))` |
Did it work? |
yeah, it work well |
Hi, I have done exactly the same as @miaoYuanyuan but all resulting images look like this: Do you know what could be the problem? |
I tried it now, But did not find this issue.
Let me see if somebody else complaints.
Colab instruction video
https://youtu.be/ULqlp6Btk2w
…On Tue, 22 Dec, 2020, 2:51 pm Antonio, ***@***.***> wrote:
Hi, I have done exactly the same as @miaoYuanyuan
<https://github.com/miaoYuanyuan> but all resulting images look like this:
https://imgur.com/a/nk1w71D
Do you know what could be the problem?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMVUYPMTK4PVZORSAM4QODTSWBQLNANCNFSM4UR6PCBA>
.
|
I have tested in windows 10 running in VirtualBox and in mac osx. Here is the script I'm using: https://www.dropbox.com/s/cx1n97klmx3r5uy/artline.py?dl=0 Thanks @vijishmadhavan. |
Check my new project Toon-Me.
https://github.com/vijishmadhavan/Toon-Me
…On Tue, 22 Dec, 2020, 5:15 pm Antonio, ***@***.***> wrote:
I have tested in windows 10 running in VirtualBox and in mac osx. Here is
the script I'm using:
https://www.dropbox.com/s/cx1n97klmx3r5uy/artline.py?dl=0
Thanks @vijishmadhavan <https://github.com/vijishmadhavan>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMVUYPN24ZDPMMSMCNSTBWDSWCBGXANCNFSM4UR6PCBA>
.
|
i'm trying input a url.such as "https://www.freepik.com/free-photo/portrait-white-man-isolated_3199590.htm#page=1&query=Portrait&position=0".After run ,it has a error:cannot identify image file <_io.BytesIO object at 0x7f5d0c1f5780>,why?
The text was updated successfully, but these errors were encountered: