Board logo

標題: [Windows] [Windows] 應用程式無法運作 [打印本頁]

作者: sososo67890    時間: 2023-2-27 04:30 AM     標題: [Windows] 應用程式無法運作

本帖最後由 sososo67890 於 2023-2-27 04:38 AM 編輯

Traceback(most recent call last):
File"CodeFormer/inference_codeformer.py",line 187,in<module>
  print(f"[{i+1}/{test_img_num}]正在\u5904理:{img_name})
UnicodeEncodeError:'cp950'codec can't encode character'\u5904'in position 8:illegal multibyte sequence
各位電腦高手,請幫幫忙,我在打開一款名為Codeformer應用程式的時候出現以上問題,請問有無那一位可次幫小弟解決這個問題,不勝感激
仲有,如果有圖示,更加好,我係用windows 7的,唔該.
作者: dcm1028hk    時間: 2023-5-2 11:31 PM

This running error was caused by the GPU memory exceeding due to the large input.
作者: dcm1028hk    時間: 2023-5-2 11:33 PM

and application runs on muti-byte windows 7 (ie. non-English), causing systen & GPU overload
作者: dcm1028hk    時間: 2023-5-2 11:35 PM

Please check out our GitHub code: https://github.com/sczhou/CodeFormer
作者: dcm1028hk    時間: 2023-5-2 11:39 PM

codec error, which codec pack did you use
作者: dcm1028hk    時間: 2023-5-3 12:36 AM

If you have a powerful CPU & RAM, I would like to suggest disable "HARDWARE ACCELERATION" within your browser to minimise loading to the GPU.
作者: 木人仔    時間: 2023-5-6 11:24 PM

python 問題,呢個叫code former 既app入面有一行
line 187
其中出現UnicodeEncodeError:'cp950'codec can't encode character'\u5904'in position 8:illegal multibyte sequence
講白D就係個app本身用左cp950去做解碼,但加下食入黎既某樣野用UnicodeEncode去編碼,所以出error
都係漢化既錯,除非有個app既原代碼,否則無得攪
\u5904 呢組係处呢個字,即係處既簡體字
個app出左>正在处理<,但出錯,要>正在處理<先唔會錯




歡迎光臨 公仔箱論壇 (http://os.tvboxnow.com/) Powered by Discuz! 7.0.0