jbohnslav / deepethogram

Other
98 stars 32 forks source link

Unable to open GUI #67

Open prerana-cell opened 3 years ago

prerana-cell commented 3 years ago

Hi,

I have installed deepethogram using the instructions on https://github.com/jbohnslav/deepethogram/blob/master/docs/installation.md page.

I am not getting any error while running the code python -m deepethogram.

python -m deepethogram zsh: killed deepethogram (deg) preranachoudhary@preranas-MBP ~ % python -m deepethogram [2021-07-06 11:39:51,561] INFO [deepethogram.gui.main.setup_gui_cfg:1250] CWD: /Users/preranachoudhary [2021-07-06 11:39:51,563] INFO [deepethogram.gui.main.setup_gui_cfg:1251] Configuration used: split: reload: true file: null train_val_test:

however i am unable to open GUI.

Can someone please help me to resolve the issue. Thanks

jbohnslav commented 3 years ago

Hmm, I haven't run into this issue before. Your computer is killing the process. Can you describe your computer? OS, RAM, etc.

prerana-cell commented 3 years ago

On Tue, 6 Jul 2021 at 10:31 PM, Jim Bohnslav @.***> wrote:

Hmm, I haven't run into this issue before. Your computer is killing the process. Can you describe your computer? OS, RAM, etc.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jbohnslav/deepethogram/issues/67#issuecomment-874929829, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUXYXJ6IQHY72OQCRB27WTLTWMZGFANCNFSM4734MGAA .

Hey I am using Mac book pro M1. I even turn off the firewall still I am unable to open GUI.

jbohnslav commented 3 years ago

I am defending my thesis in a few weeks so I have very limited time at the moment. I'll take a closer look at this in August.

jbohnslav commented 3 years ago

OK! I'm back. Have you made any progress on this issue? Unfortunately, I don't have a M1 Macbook pro to fix this myself. Can you try some of the solutions at this page? https://stackoverflow.com/questions/66295155/zsh-killed-python3-on-m1-macbook-pro

TheNotary commented 2 years ago

Hi @jbohnslav, I hope the thesis defending went well! I may have a screenshot that fits this bug report listed in #85. I'm not on an M1, I'm using Big Sur on an Intel chip. I don't work with Python very much, but my install steps were

1) Install python3 via homebrew 2) Install pytorch via the link indicating pip install method pip3 install torch torchvision torchaudio 3) Then installing this package pip3 install deepethogram

Did I miss something important? If I click to open a project, I get some more interesting errors:

Screen Shot 2021-11-06 at 4 49 23 PM
giannottigiuseppe commented 2 years ago

I modified the source code and got the GUI working on my M1 + PyQt6, which runs natively on arm64.

jbohnslav commented 2 years ago

@giannottigiuseppe can you describe what you did?

hummuscience commented 2 years ago

@giannottigiuseppe I would also be interested in this

giannottigiuseppe commented 2 years ago

Hi @Cumol every package to run DeepEthogram on Mac M1 are now available on conda-forge (including Pyside2 v. 5.15.5) or pip. No need to modify the source code anymore to run Pyside6. I can share my environment if you are interested in!

hummuscience commented 2 years ago

@giannottigiuseppe that would be great! Could you share the .yaml file (conda env export > deg.yml) with us here (or via e-mail to muad.abdelhay@gmail.com)

Thank you!

ramirezmichelle commented 1 year ago

Hi, I am currently trying to run the GUI on my Mac (Big Sur). I get the following output (no error), but the GUI never opens - I just get a blank python file with a message "application not responding" in my menu dock bar:

`(deg) michelleramirez@michelles-MBP-3 ~ % python -m deepethogram [2023-02-03 15:29:48,749] INFO [deepethogram.gui.main.setup_gui_cfg:1268] CWD: /Users/michelleramirez [2023-02-03 15:29:48,751] INFO [deepethogram.gui.main.setup_gui_cfg:1269] Configuration used: split: reload: true file: null train_val_test:

For reference, I followed the setup instructions through anaconda outlined here: https://github.com/jbohnslav/deepethogram/blob/master/docs/installation.md#brief-version

giannottigiuseppe commented 1 year ago

@ramirezmichelle I can send you my .yaml file to create a working environment on Mac.

ramirezmichelle commented 1 year ago

@giannottigiuseppe I was able to get the GUI up and working by installing from source and adding this line in main.py: os.environ['QT_MAC_WANTS_LAYER'] = '1'

I would still appreciate having the .yaml file in case there are issues down the line. Would you please send it to my email: ramirez.528@osu.edu

Thanks!

vbalog commented 1 year ago

@giannottigiuseppe I would also appreciate having the .yaml file, I am having the same issue. My email is vbalog@mit.edu. Thank you so much!!

ps2504 commented 1 year ago

me too. I'm stuck on the GUI never loading as well. my email is paul.su@ucsf.edu

giannottigiuseppe commented 1 year ago

@ramirezmichelle @vbalog @ps2504 Here's the env file. https://github.com/giannottigiuseppe/DEG_Mac_Arm_env

After creating the env from the file, activate it and run pip install deepethogram --no-deps

ps2504 commented 1 year ago

Thank you!!!!

It worked by following your instructions!

Thanks, Paul

From: Giuseppe Giannotti @.> Date: Friday, April 7, 2023 at 9:09 AM To: jbohnslav/deepethogram @.> Cc: ps2504 @.>, Mention @.> Subject: Re: [jbohnslav/deepethogram] Unable to open GUI (#67)

@ramirezmichellehttps://github.com/ramirezmichelle @vbaloghttps://github.com/vbalog @ps2504https://github.com/ps2504 Here's the env file. https://github.com/giannottigiuseppe/DEG_Mac_Arm_env

After creating the env from the file, activate it and run pip install deepethogram --no-deps

— Reply to this email directly, view it on GitHubhttps://github.com/jbohnslav/deepethogram/issues/67#issuecomment-1500424170, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A4QWG7NJW37SYGL2TMCILDDXAA33RANCNFSM4734MGAA. You are receiving this because you were mentioned.Message ID: @.***>