-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
ipyplot.plot_class_tabs not showing images #48
Comments
Hi @segalinc |
I am using jupyter notebook I used the same command line where df.path was an url instead and it worked fine I also tired to have a column with the loaded pil images too but it doesn't work
|
Hi thank you again for helping. this are the info you requested ipyplot==1.1.1 print(df.path.dtype) --> object |
Thanks for providing additional info. I assume simply running |
No it doesn't |
Are there any special characters in the image paths? Such as |
No, here are some examples |
Just to be absolutely sure - if you run bellow code it displays images correctly? images = ["img/60027106_1672795_141993.jpg", "img/60027106_1672795_100199.jpg", "img/60027106_1672795_15606.jpg"]
ipyplot.plot_images(images) |
no, that doesn't work either |
And |
yes it is. |
That's very odd.. There's a known issue with not displaying images from directories outside of Jupyter server scope but I'm not convinced if that's the case here. You can check this thread to find out if it's relevant at all for your case. And as for PIL, does this work for you? from PIL import Image
images = ["img/60027106_1672795_141993.jpg", "img/60027106_1672795_100199.jpg", "img/60027106_1672795_15606.jpg"]
ipyplot.plot_images([Image.open(path) for path in images]) |
that's exactly what I tried and it doesn't work. |
What's the error message when you try to open images with PIL? |
the is no error message at all, |
That's super weird. As much as I'd like to help you, I'm afraid I'm out of ideas at this point.. |
I appreciated you bared with me so far. I might ask some of my peers if they have any issue as well using the tool |
Yes, let's leave this issue open for now, thanks. |
it seems that even passing the numpy version of the images doesn't work as I saw you can also pass arrays |
Wait, |
|
i have the same issue, when i try to load a list of strings, i get empty image symbols. |
Hi there,
I am using ipyplot.plot_class_tabs where the images is a pd.Series of local paths
when running the line, it doesn't show the images, only the icon of the image as it's not able to load them. the paths are already relative paths in a folder in the same directory of the notebook I am running
Images are all jpg format
Am I missing something?
I also tried using the absolute path but still same issue
Thank you for the help
The text was updated successfully, but these errors were encountered: