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

突然error #660

Closed
hiokk336 opened this issue Nov 23, 2024 · 3 comments
Closed

突然error #660

hiokk336 opened this issue Nov 23, 2024 · 3 comments

Comments

@hiokk336
Copy link

我重開機就遇到了error (PyTorch is not linked with support for mps devicesFailed to set module.)
I have encounter an error after i restart my computer

Screenshot 2024-11-23 100222

@hiokk336
Copy link
Author

When RUN there is new error

Traceback (most recent call last):
File "C:\Users\Downloads\BallonsTranslator_dev_src_with_gitpython\BallonsTranslator_dev_src_with_gitpython\ui\module_manager.py", line 381, in _imgtrans_pipeline
self.ocr.run_ocr(img, blk_list)
AttributeError: 'NoneType' object has no attribute 'run_ocr'

I have choose OCR as manga_ocr and device as cpu
我選擇 manga_ocr,設備為 cpu

Uploading Screenshot 2024-11-23 102401.png…

@bropines
Copy link
Contributor

bropines commented Nov 23, 2024

  1. Do you have a MAC? MPS is only available for mac (or arm chips)
  2. What windows do you have?
  3. Try deleting config.json in the config folder and check if it works

@dmMaze
Copy link
Owner

dmMaze commented Nov 23, 2024

Check if you have other modules (other ocr, detector, inpainters, etc) set device to mps and correct it.
Or delete config/config.json.

@dmMaze dmMaze closed this as completed Nov 23, 2024
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

3 participants