【自己幫影片換主角】FakeApp 教學

挽歌之聲

971 回覆
546 Like 50 Dislike
超級瑪雅人 2018-01-29 05:09:45
一禁train 就話找不到指定模組 係點解
挽歌之聲 2018-01-29 05:12:03
巴打copy句英文睇下
羅比堅尼系數 2018-01-29 05:16:51
都係唔得 同結衣無緣
超級瑪雅人 2018-01-29 05:16:59
Traceback (most recent call last):
File "site-packages\PyInstaller\loader\pyiboot01_bootstrap.py", line 172, in __init__
File "ctypes\__init__.py", line 351, in __init__
OSError: [WinError 126] 找不到指定的模組。
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "site-packages\tensorflow\python\platform\self_check.py", line 75, in preload_check
File "site-packages\PyInstaller\loader\pyiboot01_bootstrap.py", line 174, in __init__
__main__.PyInstallerImportError: Failed to load dynlib/dll 'cudart64_80.dll'. Most probably this dynlib/dll was not found when the application was frozen.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "train.py", line 37, in <module>
File "d:\anaconda\envs\merging\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
File "model.py", line 8, in <module>
File "d:\anaconda\envs\merging\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
File "site-packages\tensorflow\__init__.py", line 24, in <module>
File "d:\anaconda\envs\merging\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
File "site-packages\tensorflow\python\__init__.py", line 49, in <module>
File "d:\anaconda\envs\merging\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module
File "site-packages\tensorflow\python\pywrap_tensorflow.py", line 30, in <module>
File "site-packages\tensorflow\python\platform\self_check.py", line 82, in preload_check
ImportError: Could not find 'cudart64_80.dll'. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Download and install CUDA 8.0 from this URL: https://developer.nvidia.com/cuda-toolkit
[12384] Failed to execute script train

就是咁了
S.Curry30 2018-01-29 05:20:32
Could not find 'cudart64_80.dll'. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Download and install CUDA 8.0 from this URL: developer.nvidia.com/cuda-toolkit
一係你冇down CUDA 8 一係你CUDA 8冇cudart64_80.dll
挽歌之聲 2018-01-29 05:20:42
居然真係出中文
今次上reddit都無人教到

巴打跟呢度check下先
http://imgur.com/a/itUH9

跟住睇下自己安裝左最新c++未
挽歌之聲 2018-01-29 05:21:25
可以重裝cuda試試
S.Curry30 2018-01-29 05:22:47
我試過 上網down返cudart64_80.dll放返入CUDA 個file就冇事
挽歌之聲 2018-01-29 05:24:09
以前玩game directx 無dll 都係咁原理
\^o^\/^o^/ 2018-01-29 05:27:09
TRY
C:\fakes\data_A
極潤洞穴 2018-01-29 05:49:23

巴打救我
蒙奇。D。奇夫 2018-01-29 05:52:20
RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb
0%| | 0/590 [00:00<?, ?it/s]
Traceback (most recent call last):
File "align_faces.py", line 145, in <module>
File "align_faces.py", line 136, in main
File "align_faces.py", line 113, in iter_face_alignments
File "site-packages\tqdm\_tqdm.py", line 505, in write
AttributeError: 'WindowsPath' object has no attribute 'write'
[19424] Failed to execute script align_faces

D:\FakeApp>

卡左喺呢到 Extract唔到
有冇巴打可以教吓我
Nocchi.bb喔 2018-01-29 05:57:28
Using TensorFlow backend.
Focus the training preview window and press 'q' to stop training and save the model
Traceback (most recent call last):
File "train.py", line 106, in <module>
File "training_data.py", line 17, in get_training_data
File "image_augmentation.py", line 21, in random_warp
AssertionError: MESSAGE: Your images are the wrong size. Images used for training should be 256x256 images produced by the Align tool.
[2812] Failed to execute script train

我係咁 有無解
S.Curry30 2018-01-29 05:57:32
HDD or ssd set左只可以write 唔可以read 應該係
S.Curry30 2018-01-29 05:58:56
係咪打左Tps?
S.Curry30 2018-01-29 06:00:43
試下resize啲extract出黎既相做一樣size
挽歌之聲 2018-01-29 06:05:39
巴打個cmd用windows\system32 起手

開左cmd 之後
要打左以下呢條指令轉個目錄先
cd /d C:\users\你個電腦user name
Nocchi.bb喔 2018-01-29 06:07:17
全部轉哂做256X256啦
挽歌之聲 2018-01-29 06:08:40
檢查番train path
係咪
Data A Path: C:/fakes/data_A/aligned
Data B Path: C:/fakes/data_B/aligned
處女膜破壞者 2018-01-29 06:10:36
好撚勁
Nocchi.bb喔 2018-01-29 06:10:48
挽歌之聲 2018-01-29 06:11:04
巴打放左fakeapp 去d drive?

btw可以試下用cpu唔同gpu extract
挽歌之聲 2018-01-29 06:13:22
巴打肯定兩個aligned資料夾入面係用相而全部都png file?

btw試下自己人手重新打過條path

大草C: 轉做細草 c:
睇下得唔得
reddit有人因為咁成功過
S.Curry30 2018-01-29 06:13:58
Windows好似係C:\fakes\data_A\aligned
吹水台自選台熱 門最 新手機台時事台政事台World體育台娛樂台動漫台Apps台遊戲台影視台講故台健康台感情台家庭台潮流台美容台上班台財經台房屋台飲食台旅遊台學術台校園台汽車台音樂台創意台硬件台電器台攝影台玩具台寵物台軟件台活動台電訊台直播台站務台黑 洞