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

Advanced to next tabs after running pose segmentation #49

Open
Tracked by #54
katiekly opened this issue Aug 14, 2024 · 12 comments
Open
Tracked by #54

Advanced to next tabs after running pose segmentation #49

katiekly opened this issue Aug 14, 2024 · 12 comments
Labels
bug Something isn't working

Comments

@katiekly
Copy link
Collaborator

In the GUI, I was able to successfully run pose segmentation but I wasn't able to advance to the next steps such as Motif Videos tab and UMAP Visualization tab.

@katiekly katiekly added the bug Something isn't working label Aug 14, 2024
@luiztauffer
Copy link
Collaborator

@katiekly could you show me exactly where you're getting stuck? The tabs do not show the results? Or the app crashes?
Can you please also check if the results files were correctly created in their folders?
Which OS you're using?

@katiekly
Copy link
Collaborator Author

The tabs isn't supposed to show the results, but I'm not able proceed to the next steps after pose segmentation, so clicking on the Motif Videos or UMAP Visualization tab doesn't do anything because the app still thinks I have not completed pose segmentation even though I have. I checked the results folder and all expected outputs are there, but there's a hmm_trained.pkl file in the immediate results folder that shouldn't be there. This was tested on Windows 11 Pro Education

@luiztauffer
Copy link
Collaborator

Could you share the log files?

@katiekly
Copy link
Collaborator Author

@DrSRMiller
Copy link

@luiztauffer We also notice that "states.json" is showing segmentation as "running" even though it has successfully completed. We tried to manually advance the project state by editing the "states.json" file but we were not able to advance or backtrack states. We were not able to manually modify project.workflow because we couldn't find it.

@luiztauffer
Copy link
Collaborator

@katiekly @DrSRMiller are you be able to run the pipeline without the GUI, just using the package? That can help us isolate the problem

@luiztauffer
Copy link
Collaborator

@nathan-vm

@DrSRMiller
Copy link

DrSRMiller commented Aug 16, 2024 via email

@luiztauffer
Copy link
Collaborator

@DrSRMiller I mean, are you able to successfully the pipeline with this specific dataset, using only the package? I want to isolate the problem, if it runs fine with just the package, it might be a bug on the desktop app. If not, it might be an edge case we haven't encountered before on vame processing itself.
Could you shared this data so we can try to reproduce the error?

@katiekly
Copy link
Collaborator Author

@luiztauffer I shared the project folder where I encountered the error with you via email. Please let me know if you didn't receive the invite to the drive.

@luiztauffer
Copy link
Collaborator

@katiekly can you please also share with:

@bendichter
Copy link
Contributor

I thought I was encountering the same error. It was stuck on that page for a while. The log seemed to indicate that the pipeline was complete, and the pose segmentation button was inactive, but I could not progress to the next page.

The log at that point was ending in:

2024-08-16 14:58:30.212 INFO --- [Thread-856 (process_request_thread)] vame.analysis.pose_segmentation : 279 : For all animals the same parametrization of latent vectors is applied for 15 cluster

I thought this was the end, but it was not. After several minutes it changed to add:

2024-08-16 14:58:30.213 INFO --- [Thread-856 (process_request_thread)] vame.analysis.pose_segmentation : 135 : Using kmeans as parametrization!
2024-08-16 14:58:36.336 INFO --- [Thread-856 (process_request_thread)] vame.analysis.pose_segmentation : 317 : /Users/bendichter/vame-desktop/projects/test-Aug16-2024/results/video-1/VAME/kmeans-15/
2024-08-16 14:58:36.337 INFO --- [Thread-856 (process_request_thread)] vame.analysis.pose_segmentation : 332 : You succesfully extracted motifs with VAME! From here, you can proceed running vame.motif_videos()

and the app screen changed to:

image

and allowed me to progress. @katiekly could you try leaving the app for ~15 minutes to see if you are in the same situation? If so, I think we just need a minor UI modification to make it clear that the app is not hanging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants