Aeonss / BubbleBlaster

Bubble Blaster removes text from speech bubbles in mangas/manhwas, made for Scanlations groups.
MIT License
94 stars 11 forks source link

Python Crash #19

Closed Alex663366 closed 1 year ago

Alex663366 commented 1 year ago

So the crash actually happened right after I hit the 'Blast' button. I'm not sure what the error was because I didn't see any signs. But what I do know is, when I executed the blast, Python stopped responding and eventually crashed. By the way, I'm not using a GPU.

Aeonss commented 1 year ago

Did the command prompt that is launched with the application say anything?

Alex663366 commented 1 year ago

I didn't see anything else besides the message 'Neither CUDA nor MPS are available - defaulting to CPU. Note: This module is much faster with a GPU.' Then, it crashed after a few seconds. I've tried all versions of BubbleBlaster but the outcome remains the same. The only exception is when I use BubbleBlaster 1.2.2 NON-COMPACT, which displays the following message :

torchvision\io\image.py:13: UserWarning: Failed to load image Python extension: ''If you don't plan on using image functionality from `torchvision.io`, you can ignore this warning. Otherwise, there might be something wrong with your environment. Did you have `libjpeg` or `libpng` installed before building `torchvision` from source?
torch\_jit_internal.py:857: UserWarning: Unable to retrieve source for @torch.jit._overload function: <function _DenseLayer.forward at 0x0000013E8219A520>.
  warnings.warn(
torch\_jit_internal.py:857: UserWarning: Unable to retrieve source for @torch.jit._overload function: <function _DenseLayer.forward at 0x0000013E8219B4C0>.
  warnings.warn(
Aeonss commented 1 year ago

Looks like its a image issue. What's the image name? Can you send it here so I can test it?

Alex663366 commented 1 year ago

002

Alex663366 commented 1 year ago

The name of the file is '001.png'

Aeonss commented 1 year ago

Hmm, it works on my end. Not sure why its not working for you. What are your computer specs?

Alex663366 commented 1 year ago

i3 6100 8gb ram no gpu

Aeonss commented 1 year ago

Hmm, can you download the entire repository and run the python file manually?

git clone https://github.com/Aeonss/BubbleBlaster

cd into the folder

run the command "python bubbleblaster.py"

See if that still crashes the program.

Alex663366 commented 1 year ago

It keeps crashing, but I think it's because I didn't fulfill the requirements in the requirements.txt file.

Alex663366 commented 1 year ago

After I installed the requirements and then ran the command 'python bubbleblaster.py', this is what appeared:

import customtkpip install torchinter as ctk
                       ^
SyntaxError: invalid syntax
Alex663366 commented 1 year ago

Do you have a recommended version of Python?

Aeonss commented 1 year ago

I'm using Python 3.11.1

Alex663366 commented 1 year ago

I think the problem lies in the specifications of my own PC, it's quite unfortunate, but I appreciate you for answering all this time. I will be closing this post later.

Aeonss commented 1 year ago

Sorry, to hear this, 🙏🙏