機械学習は GPU がやってくれるので、マイニングマシンを転用しようかと思っていた。
でも、CPUもCPUのメモリも相応に使うので、転用は難しそうだ。
それはさておき、faceswap で動画を処理しようとすると、Convert でこんなエラーになる。
File "C:\TOOLS\faceswap\lib\image.py", line 324, in count_frames
output = process.stdout.readline().strip()
UnicodeDecodeError: 'cp932' codec can't decode byte 0x83 in position 162: illegal multibyte sequence
このエラーは、windows で python を使うときの「あるある」らしく、unicode - SJIS 変換が悪さをしている。
これは、ffmpeg が出力するメッセージを unicode に変換できてない。
回避策:
動画ファイルのプロパティを開き、「詳細」タブを見る
タイトル、アーティストとかに日本語が入っていると処理できません。
適当に修正して、OK する
【技術情報・ノウハウの最新記事】
https://imgur.com/4BjXWnI
https://imgur.com/IO65rDu
https://imgur.com/LQ61aoE
https://imgur.com/SOOHgG5
https://imgur.com/LNmWpr1
https://imgur.com/LqqkZAj
https://imgur.com/lUNM5qg
https://imgur.com/BbGJ6m2
https://imgur.com/A2zSm0L
https://imgur.com/BMaR9ZT
https://imgur.com/ypTOqAj
https://imgur.com/Cm0mvVs
https://imgur.com/xY1JF6K
https://imgur.com/dM2xOsW
https://imgur.com/l7REUl2
https://imgur.com/DSaEG5g
https://imgur.com/3Ad31g2
https://imgur.com/AfUBvYu
https://imgur.com/q1FLzNd
https://imgur.com/HmUpnuC
https://imgur.com/uvliMqC
https://imgur.com/Qqn9B7w
https://imgur.com/5iW7aqp
https://imgur.com/loK7fg4
https://imgur.com/17rEcLJ
https://imgur.com/hqsCo5G
https://imgur.com/Dja10ye
https://imgur.com/pdsArZg
https://imgur.com/z8dPXmZ
https://imgur.com/Xr3AauS