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

ROI #179

Closed
carlitomu opened this issue May 11, 2022 · 15 comments
Closed

ROI #179

carlitomu opened this issue May 11, 2022 · 15 comments

Comments

@carlitomu
Copy link

HI,
I can't draw a different ROI for every single video in my project.
When a draw a new ROI in a video, the others ROI disappears from the Region of Interest Settings .

I can only draw a "unique" ROI and the apply (without any changes) to all the videos (through the "Apply to all" button).

I'm using simba 0.87.7 (I followed this suggestion) on a mac (OS 10.13.6).

Carlo.

@sronilsson
Copy link
Collaborator

Hi @carlitomu thanks for reporting - can you update simba to the latest version pip install simba-uw-tf-dev --upgrade or pip install simba-uw-tf-dev==0.91.8 and let me know if that fixes the issue?

@carlitomu
Copy link
Author

Thanks.

I tried to update simba to the latest version (pip install simba-uw-tf-dev --upgrade) and to 0.91.8 release, but it doesn't work.
I get this error message:
Schermata 2022-05-11 alle 23 12 09
Schermata 2022-05-11 alle 23 14 53

@sronilsson
Copy link
Collaborator

I see - not immediately familiar with this error but can you try pip install simba-uw-tf-dev --upgrade --no-deps and let me know if that works?

@carlitomu
Copy link
Author

no, it doesn't work and I get the same error message.

@sronilsson
Copy link
Collaborator

@carlitomu - I gave it a go on macos and see if I could replicate and did not see the issue, so may not be a general bug...

(i) Can you try the solution with these three commands?
matplotlib/matplotlib#16700

(ii) If that does not work, could you try to create a new conda python3.6 environment, run pip install simba-uw-tf-dev, and see if that fixes it?

@carlitomu
Copy link
Author

(I) I tried this solution, uninstalling and installing matplotlib and I get this error message
Schermata 2022-05-12 alle 18 05 53

So I uninstalled matplotib again and numpy, Pillow and shapely. Then I installed the required versions of these packages, getting a new error message:
Schermata 2022-05-12 alle 18 08 02

(II) I tried all your solution in a new conda environments!

@sronilsson
Copy link
Collaborator

Thanks - the warnings should not be an issue ans appears to be related to version of matplotlib. Can you try this answer and see if it boots up?

https://stackoverflow.com/a/65939524

So first either pip uninstall matplotlib or conda remove --force matplotlib
Followed by either pip install matplotlib==3.0.3 or conda install matplotlib=3.0.3

@carlitomu
Copy link
Author

mhm, as I wrote earlier, I'have just tried and installed that matplotlib version.

So again the message error is this one:

Schermata 2022-05-12 alle 20 20 31

@sronilsson
Copy link
Collaborator

Sorry read it too quickly, did you also try to install matplotlib through conda rather than pip?

ludwig-ai/ludwig#114 (comment)

@carlitomu
Copy link
Author

yes, with conda I get a new one:
Schermata 2022-05-12 alle 20 36 23
Schermata 2022-05-12 alle 20 36 48

@sronilsson
Copy link
Collaborator

I see thanks for troubleshooting, might be some compatibility issue with older MacOS version, as I'm running 12.x, I will get back to you tomorrow

@carlitomu
Copy link
Author

Ok, thanks!

@sronilsson
Copy link
Collaborator

Right I did a bit of reading - and seems to be a known issue on some more dated macOS versions with the specific matplotlob and tkinter versions required by simba… what confuses me is that the older versions of simba seems to run on your computer, while the reason one does not, and I have made no changes to any dependencies...

https://stackoverflow.com/questions/30031063/nsexception-with-tkinter-on-mac

You could try and:

(i) update your MacOS - this is probably the more ardous suggestion so understand if you don’t want to go down that route…

(ii) See if you can get it running using python 3.7 or 3.8 in conda instead of python 3.6. This ensures that you have a different version of tkinter so might avoid the clash. I confimed it runs on my MacOS in python 3.7 (but I have MacOS 12.3.1).

@carlitomu
Copy link
Author

Hi, finally I have decided to run simba on another workstation with Windows.
In any case, thank you for your help!

@sronilsson
Copy link
Collaborator

Thanks for letting me know @carlitomu, very helpful - I'll make a note about this in the FAQ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants