You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have made doodler python conda environments following the posted instructions (py38) as well as envs based on python versions 3.7, 3.9, and 3.10. I also trialled firefox, chrome and edge browsers. I made environments using WSL on windows 11 and windows 10 (2 different machines). Each time, I ran into the same issue. When I select an image, and navigate to the labeling screen, the image does not appear.
I suspect something is going wrong with the timing
@2320sharon investigated this some (thank you) and her summary is below:
In update_output which is called periodically to update the figure I configured it to display the default image if the select_image_value (which is the filename of the image selected by the user to label) is None. When I did this the main page kept updating to the default image even after I selected an image which displayed for a second then updated to the default image.
Something is causing select_image_value to be set to None and update_output is being called every 500ms causing the main figure to clear the image. The question is why is select_image_value being cleared
I can't seem to figure out where select_image_value is from. I can only find it defined in the update_output function where it is passed in as a variable
The text was updated successfully, but these errors were encountered:
select_image_value is inherited from the UI components and is present in the callback. Plotly works by funneling all inputs, outputs, and states, into a single callback function
It is set by Input("select-image", "value"), below
I have made doodler python conda environments following the posted instructions (py38) as well as envs based on python versions 3.7, 3.9, and 3.10. I also trialled firefox, chrome and edge browsers. I made environments using WSL on windows 11 and windows 10 (2 different machines). Each time, I ran into the same issue. When I select an image, and navigate to the labeling screen, the image does not appear.
I suspect something is going wrong with the timing
dash_doodler/app.py
Line 506 in 41ce96b
@2320sharon investigated this some (thank you) and her summary is below:
In
update_output
which is called periodically to update the figure I configured it to display the default image if theselect_image_value
(which is the filename of the image selected by the user to label) is None. When I did this the main page kept updating to the default image even after I selected an image which displayed for a second then updated to the default image.Something is causing
select_image_value
to be set to None andupdate_output
is being called every 500ms causing the main figure to clear the image. The question is why isselect_image_value
being clearedI can't seem to figure out where
select_image_value
is from. I can only find it defined in theupdate_output
function where it is passed in as a variableThe text was updated successfully, but these errors were encountered: