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

GUI closes directly #1

Open
Warsgoren opened this issue Oct 28, 2023 · 7 comments
Open

GUI closes directly #1

Warsgoren opened this issue Oct 28, 2023 · 7 comments

Comments

@Warsgoren
Copy link

Hello, I noticed that when I run the program, the graphical interface closes directly. For your information, as you indicated in README, I'm using version python 3.10.0, and there's no error when the window closes.

I tried to look for the problem but couldn't find it, so I wanted to let you know.

@Omarleel
Copy link
Owner

Hello, I noticed that when I run the program, the graphical interface closes directly. For your information, as you indicated in README, I'm using version python 3.10.0, and there's no error when the window closes.

I tried to look for the problem but couldn't find it, so I wanted to let you know.

Hello! I would like to know the specifications of your computer, especially your graphics card. I tested it on an Nvidia GeForce GTX 1650Ti (4Gb)

@Warsgoren
Copy link
Author

Hello, I noticed that when I run the program, the graphical interface closes directly. For your information, as you indicated in README, I'm using version python 3.10.0, and there's no error when the window closes.
I tried to look for the problem but couldn't find it, so I wanted to let you know.

Hello! I would like to know the specifications of your computer, especially your graphics card. I tested it on an Nvidia GeForce GTX 1650Ti (4Gb)

I have an RTX 3060, but I don't think the problem comes from the GPU, I tested the program with version 3.9.13 of python, I obviously removed some libraries so that the graphical interface runs without a problem, with this version there's no problem with the interface (of course later there's an error during validation because I removed the unavailable libraries from this version). But after this test I really have no idea why there is a problem with version 3.10.0 of python.

@Omarleel
Copy link
Owner

Hello, I noticed that when I run the program, the graphical interface closes directly. For your information, as you indicated in README, I'm using version python 3.10.0, and there's no error when the window closes.
I tried to look for the problem but couldn't find it, so I wanted to let you know.

Hello! I would like to know the specifications of your computer, especially your graphics card. I tested it on an Nvidia GeForce GTX 1650Ti (4Gb)

I have an RTX 3060, but I don't think the problem comes from the GPU, I tested the program with version 3.9.13 of python, I obviously removed some libraries so that the graphical interface runs without a problem, with this version there's no problem with the interface (of course later there's an error during validation because I removed the unavailable libraries from this version). But after this test I really have no idea why there is a problem with version 3.10.0 of python.

That's weird, I just tried it by creating a new environment on Conda with python 3.10.0, maybe you should make sure you have CUDA correctly installed.

@Warsgoren
Copy link
Author

Hello, I noticed that when I run the program, the graphical interface closes directly. For your information, as you indicated in README, I'm using version python 3.10.0, and there's no error when the window closes.
I tried to look for the problem but couldn't find it, so I wanted to let you know.

Hello! I would like to know the specifications of your computer, especially your graphics card. I tested it on an Nvidia GeForce GTX 1650Ti (4Gb)

I have an RTX 3060, but I don't think the problem comes from the GPU, I tested the program with version 3.9.13 of python, I obviously removed some libraries so that the graphical interface runs without a problem, with this version there's no problem with the interface (of course later there's an error during validation because I removed the unavailable libraries from this version). But after this test I really have no idea why there is a problem with version 3.10.0 of python.

That's weird, I just tried it by creating a new environment on Conda with python 3.10.0, maybe you should make sure you have CUDA correctly installed.

https://www.youtube.com/watch?v=R2fMLQSWz3g
I've put a youtube link where I show my cuda configuration and also the problem I'm having because even looking at my cuda configuration I can't work out where the problem is.

@Omarleel
Copy link
Owner

Hello, I noticed that when I run the program, the graphical interface closes directly. For your information, as you indicated in README, I'm using version python 3.10.0, and there's no error when the window closes.
I tried to look for the problem but couldn't find it, so I wanted to let you know.

Hello! I would like to know the specifications of your computer, especially your graphics card. I tested it on an Nvidia GeForce GTX 1650Ti (4Gb)

I have an RTX 3060, but I don't think the problem comes from the GPU, I tested the program with version 3.9.13 of python, I obviously removed some libraries so that the graphical interface runs without a problem, with this version there's no problem with the interface (of course later there's an error during validation because I removed the unavailable libraries from this version). But after this test I really have no idea why there is a problem with version 3.10.0 of python.

That's weird, I just tried it by creating a new environment on Conda with python 3.10.0, maybe you should make sure you have CUDA correctly installed.

https://www.youtube.com/watch?v=R2fMLQSWz3g I've put a youtube link where I show my cuda configuration and also the problem I'm having because even looking at my cuda configuration I can't work out where the problem is.

In your video I noticed that easyOCR is not recognizing your graphics card. Make sure to install CUDA compatible torch. You can try to do the following:

uninstall torch torchvision torchaudio
pip cache purge
pip install torch==2.0.0+cu117 torchvision==0.14.1+cu117 --extra-index-url https://download.pytorch.org/whl/cu117

@Warsgoren
Copy link
Author

Hello, I noticed that when I run the program, the graphical interface closes directly. For your information, as you indicated in README, I'm using version python 3.10.0, and there's no error when the window closes.
I tried to look for the problem but couldn't find it, so I wanted to let you know.

Hello! I would like to know the specifications of your computer, especially your graphics card. I tested it on an Nvidia GeForce GTX 1650Ti (4Gb)

I have an RTX 3060, but I don't think the problem comes from the GPU, I tested the program with version 3.9.13 of python, I obviously removed some libraries so that the graphical interface runs without a problem, with this version there's no problem with the interface (of course later there's an error during validation because I removed the unavailable libraries from this version). But after this test I really have no idea why there is a problem with version 3.10.0 of python.

That's weird, I just tried it by creating a new environment on Conda with python 3.10.0, maybe you should make sure you have CUDA correctly installed.

https://www.youtube.com/watch?v=R2fMLQSWz3g I've put a youtube link where I show my cuda configuration and also the problem I'm having because even looking at my cuda configuration I can't work out where the problem is.

In your video I noticed that easyOCR is not recognizing your graphics card. Make sure to install CUDA compatible torch. You can try to do the following:

uninstall torch torchvision torchaudio pip cache purge pip install torch==2.0.0+cu117 torchvision==0.14.1+cu117 --extra-index-url https://download.pytorch.org/whl/cu117

From pytorch's site I get the impression that there is currently no version available with Cuda 12.3. Which version do you have?

@Omarleel
Copy link
Owner

Hello, I noticed that when I run the program, the graphical interface closes directly. For your information, as you indicated in README, I'm using version python 3.10.0, and there's no error when the window closes.
I tried to look for the problem but couldn't find it, so I wanted to let you know.

Hello! I would like to know the specifications of your computer, especially your graphics card. I tested it on an Nvidia GeForce GTX 1650Ti (4Gb)

I have an RTX 3060, but I don't think the problem comes from the GPU, I tested the program with version 3.9.13 of python, I obviously removed some libraries so that the graphical interface runs without a problem, with this version there's no problem with the interface (of course later there's an error during validation because I removed the unavailable libraries from this version). But after this test I really have no idea why there is a problem with version 3.10.0 of python.

That's weird, I just tried it by creating a new environment on Conda with python 3.10.0, maybe you should make sure you have CUDA correctly installed.

https://www.youtube.com/watch?v=R2fMLQSWz3g I've put a youtube link where I show my cuda configuration and also the problem I'm having because even looking at my cuda configuration I can't work out where the problem is.

In your video I noticed that easyOCR is not recognizing your graphics card. Make sure to install CUDA compatible torch. You can try to do the following:
uninstall torch torchvision torchaudio pip cache purge pip install torch==2.0.0+cu117 torchvision==0.14.1+cu117 --extra-index-url https://download.pytorch.org/whl/cu117

From pytorch's site I get the impression that there is currently no version available with Cuda 12.3. Which version do you have?

I have CUDA 10.1

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