-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Turi Create Visualisation often stuck on "Loading" screen #88
Comments
@ProjectDent Thanks for reporting this. So far I haven't seen this happening in general, and it seems hard to reproduce. Do you notice any patterns in when it happens, relating to any of the following? I'm trying to narrow down what might be causing it.
|
@ProjectDent Another thing that would be useful to know is the machine specs. Could you share RAM/CPU/etc. specifics? I suspect this may be a timing issue that happens only when a sequence of events happens in a different order than usual. |
I'm experiencing this as well. I'm using a very small and simple test dataset (<10 imgs) for object detection, and explore() originally led me to a 'loading' screen on the first ~5 tries. Oddly, now subsequent runs open no window at all. I can't recall a situation where this was working for me. OS X 10.13.2 |
That's very unusual. Are these images really large? |
The largest image is 2.1M, then ~400K and a few at ~100K. I'm only trying to run it with a set of maybe 8 images total. |
We have tested on datasets with over 100K images so I'm wondering if it has more to do with the size of each image rather than the number of images. Thanks for the info. We will try and figure out what's going on here. |
Same issue here, ~1.7MB Images (3024 x 4032). Works if I do a couple (say three or four photos) but any more and I get the same issue. Running on MBP 2017 (3.1Ghz,8GB,Intel Iris Plus 650). |
@JamesDale, @Buza, @ProjectDent - I'm unable to reproduce this on my machine (2016 MBP) with my own data. To make a representative example that I thought would reproduce the issue, I made an SFrame with 8 rows of (jpeg) images, each in the 2 MB range. Are any of you able to reproduce the issue with the following code (and the attached SFrame)? First, download and extract repro-88.sf.tar.gz to give a directory named import turicreate as tc
sf = tc.SFrame('repro-88.sf')
sf.explore() If this repros for you, that means it's a machine-dependent timing issue. If it doesn't repro, then it's a dataset-dependent issue. |
@znation Same thing, it's appearing to be a machine-dependent timing issue. |
Thanks @JamesDale! I'll try to reproduce it on a similar machine to yours. |
@znation Same result here as well. |
Running the code above by znation I am having the same issue (stuck on the loading screen). Specs provided in #136 |
Can consistently reproduce this "loading" screen. MacBook Pro (15-inch, 2016) Run 1: Run 2: Run 3: |
+1 can consistently reproduce. Was able to narrow it down and find something peculiar (which works as a temporary fix): import turicreate as tc
data = tc.image_analysis.load_images("DownloadedImages")
#data['image'].apply(lambda x: x)
data.explore() If you uncomment the middle line and simply run an |
same problem on workaround of Miloszw worked perfectly !
|
Thanks for reprint this gain. We'll explore a fix. |
@luto65 Which version of turicreate are you on? 4.3.2? |
First time Turi Create user, but same issue for me. Using an SFrame, the sf.show() method is working. But sf.explore() always results in a Turi Create Visualization app launch that is stuck on "Loading". I've never gotten TC to explore my data. Thinking maybe it was a python related issue, I used conda to create both 3.6 and 2.7 environments to try it out. Still no success. MacBook Pro (Mid 2010!) |
Is this on the same dataset as above? If not, can you tell us if this failure is dataset dependent? |
Originally, I was using the tensorflow "flowers" dataset here: But after finding this bug report, I downloaded and tried the repro-88 SFrame. Still no luck. sf.explore() always hangs on "Loading". |
One other note, although I don't know if it's relevant or not. The first time I attempted to run Turi Create Visualization via sf.explore(), it failed to launch at all...with an error that appears to be related to an old version of Adobe Unit Types:
To fix that, a little googling suggested replacing /Library/ScriptingAdditions/Adobe Unit Types.osax with a newer version: I did that and then TC Visualization did launch. But that's when I hit this perpetual "Loading" issue. I don't know if there is any overlap here -- probably not -- but I thought I would mention it. |
Had this with INRIA datasets first, then tried the repro-88, same thing. Running on late 2013 rMBP, 16 GB RAM, Nvidia GT750M, macOS 10.14 |
I have encountered a similar but different problem. But if I run it on the computer in my laboratory, I could see the data and the images. This computer's information: This is the first time I ask questions on github. I would feel sorry if there is any inappropriate word. |
Hi everyone, I tried the fix posted above and it didn’t work. I’m using the beta. Is there any other way to get the visualization window to work? |
Hi @baizhenmao95, thanks for letting us know. I suspect that is a separate issue from this one, so I opened a new issue to track it: #777 In the |
Hi @yousifKashef thanks for letting us know - I think this is still a known issue in all versions (including 5.0b1). We're looking into it now. |
@znation Thanks for your reply. I'm sorry that I didn't make myself clear. |
@baizhenmao95 I see, thanks for the explanation. It seems this is a separate issue so I opened #781. As a workaround until this is fixed, please also see #340 (comment) to save the images at full size so you can open them outside of Turi Create. |
This issue should now be fixed with #875 and some fixes that have already gone in. Please reactivate with repro steps if this repros on Turi Create 5.0b3 or later. |
Is 5.0b3 available yet? pip install turicreate==5.0b3 |
Hi @kwade101 , not yet, but we plan to release it early next week. We will post on this thread when we release Turi Create 5.0b3. Until we release it, feel free to clone master and build from source! |
Hi @kwade101 , we just released Turi Create 5.0 beta 3, you can find the wheels on the release page. Let us know if you can still repro the issue and we'll reopen it! |
Hi @shantanuchhabra, I just ran the explore method and it didn't work. I got the following error message.
|
Thanks @yousifKashef. This looks like a different issue; I'll open a new issue for that. |
Opened #930. |
Arrrrg. Unfortunately, no, I am still experiencing the same issue with 5.0b3. Turi Create Visualization launches and says "Loading" with the spinning circle... in perpetuity. No errors.
Mac OS Sierra, 10.12.6 repro.py:
I dunno. Does this have anything to do with the age of my macbook pro and what CPU or GPU it has? I'm at a loss. |
Reopening since this issue seems to still repro as well for @kwade101. We'll take another look and see if we can repro on any hardware with that dataset. |
I'm having the same issue MacBook Pro (Retina, 13-inch, Mid 2014) import turicreate as tc
training_data = tc.image_analysis.load_images("../images")
training_data = training_data.add_row_number()
training_data.save('./training_data.sframe')
training_data.explore() CLI reports There are only 5 images in my training data, one of them is 2.5MB and the rest are < 500kb. Once I removed the 2.5MB image from the directory and deleted the sFrame, I managed to go past the "Loading..." but now when I hover over an image I get the spinner forever. |
Any update here?
|
Hi @juliesoliman, I haven't been able to reproduce this issue yet but we'll keep looking into it, and if we can get a consistent repro then hopefully we'll be able to track it down. Thanks for the info! |
I run my scripts simply from the terminal using Trying to run this script I get stuck in the loading screen: import turicreate as tc
data = tc.SFrame('test.sframe')
data.explore() But running this script it loads fine as long as I don't press Enter: import turicreate as tc
data = tc.SFrame('test.sframe')
data.explore()
input("Press Enter to exit...") I'm not sure if SFrame.explore() is supposed to block or the script is meant to be run in some other way, but manually keeping the process from quitting is working for me. |
Hi @OCJvanDijk, this is because |
@OCJvanDijk's script worked perfectly for me. I was getting the loading screen and it just would not get past it. My images are very small (not over 200KB) so I was very confused why it was never loading. I wanted to see my bounding boxes so I replaced
|
@OCJvanDijk's solution worked for me as well! |
@OCJvanDijk 's solution worked for me. So the key point is keeping the python running in background to provide data for the Visualization client. This information should put in document somewhere. |
I'm having the same issue MacBook Pro (15-inch, Mid 2017) I have just installed the application and can't open it. |
I don't know what additional information to provide here, as it's happened in a number of different situations. With a large or very small data set, Turi Create Visualisation remains stuck on the "Loading" screen and never loads. Sometimes I can run the same code again, and it will load almost instantly with all data shown. But often, it'll not move past that initial screen. Sometimes re-running it works.
Right now I'm simply following the Image Classification and Object Detection tutorials, so not doing anything particularly advanced. This occurred when calling
explore()
after creating the initial cats/dogs data set, and even when slimming that data set down to just 6 images.Let me know if you need more specifics.
The text was updated successfully, but these errors were encountered: