Giter VIP home page Giter VIP logo

yanderifier's Introduction

We're looking for new maintainers!

First-order-wrapper is not for making unethical, illicit or inappropriate content. Learn more here.

Yanderify is now known as first-order-wrapper to more accurately describe its function.

Since this project is no longer in active development, the name won't be changed everywhere. However, I'm starting to update documentation on all of my projects to make them better, so the name change felt neccessary. You can still refer to the project as Yanderify, and all of the links mentioning yanderify will continue to work. Changing the repo name would destroy any bookmarks or links to here, so that is not going to happen. The old documentation lies below.

first-order-wrapper

first-order-wrapper is a wrapper around first-order-model. It exposes a simple user interface designed to be usable by anyone, with any level of technical skill. first-order-model was previously hard for the average person to use, since it required knowledge of the command line and installation of libraries. Yanderify eliminates these issues by providing a complete environment, with all necessary components bundled inside.

Please see the "releases" tab for the latest build. The repo is not necessarily up to date. However, the latest-v4 branch contains the latest code as of this writing, while as of this writing, master contains code from 2 major versions back.

What it does

first-order-model is an Artificial Intelligence that takes a source video and an image of a face, and animates the image to match the movement of the source image.

Here is an example of what first-order-model can do; this image was created by the First Order Motion Model paper authors, and is taken from their repository. Most of the heavy lifting of Yanderify is done by code written by these paper authors, so I suggest you go check out their repository if you are interested.

Example

How it works

Double-clicking yanderify.exe will bring up a window that looks like this: Screenshot of the program

  • "I don't have NVIDIA >=GTX750": checking this will enable CPU mode, which is a lot slower, but is the only method for users without a compatible graphics card.
  • "Select Video": Clicking this will display a file selection box. This file should be the video you want to animate the new face to; in other words, this video will "drive" the image to move in the same way.
  • "Select Image": This is a cropped picture of the face you want to be animated. In other words, this is the face that the video "wears".
  • "Select Output": This is where your result will be stored.

Just hit "Go," and your video will be re-animated and re-encoded with the source audio!

Addendum

Join our discord server (updated again) A lot of people have asked for me to make a twitter. I probably won't be very active on it, but here ya go: @dunnousername2

yanderifier's People

Contributors

animan8000 avatar dunnousername avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

yanderifier's Issues

Failed a sanity check

Failed a sanity check. You should tell the devs about this!
Traceback (most recent call last):
File "install\postinstall.py", line 10, in
raise e
File "install\postinstall.py", line 4, in
import numpy as np
ModuleNotFoundError: No module named 'numpy'

Some common issues and how to fix them

Yanderify randomly closes itself!

If the folder exists (you might need to turn on hidden folders), delete .matplotlib in your user directory. This is not the documents folder or the downloads folder; this is C:\Users\yourname

This post will be extended as new common issues are found. Most of the time, these issues are fixed, but some issues are not on yanderify's end and there is nothing we can do about them.

To prevent this thread from getting cluttered, this thread was locked to contributors at creation. Please open a new issue rather than using this one if you need help, or alternatively join the discord server and ask there.

CUDA error: misaligned address

Error: received a RuntimeError at stage "predict".
Message: "CUDA error: misaligned address"
Full traceback:
File "yanderify.py", line 238, in worker_thread

File "yanderify.py", line 200, in make_animation_batch

File "yanderify.py", line 183, in make_animation_batch_

Not a fun joke, YEET.
It uses only ~1.5GB of VRAM and then crashes. Of course i have a bit bigger amount of VRAM...

Add a GPU selection

My laptop has two GPUs, one is NVIDIA RTX2060 another is AMD VEGA 7.But the software cannot recognize the NVIDIA one and it told me it crashed. I think the software may consider it could only ran on the VEGA .By the way, my laptop's GPUs mixed display output.

Fails to start at all when first Installing

Hello!

Newest version, 2.0.5, freshly downloaded.

Moved it to a folder on the desktop, and it fails to run. I can't catch what it's saying either because there is a CMD prompt that opens up for barely a frame then closes again, so I can't tell you whats going wrong.

I do have another python 3 installation on this system, so that might be the cause, but without debugging logs I can't really tell you!

GTX 760 not compatible with PyTorch - Cuda runtime error (48): No kernel image is available for execution

Running yanderifier on my GTX 760 (2GB VRAM), I received this error message and yanderify crashed.

I found this pytorch issue of the same error, so it seems GTX 760 is not compatible with the pytorch version in yanderifier. Yanderifier says GTX >=750 should be fine, however.

Error: received a RuntimeError at stage "predict".
Message: "cuda runtime error (48) : no kernel image is available for execution on the device at c:\a\w\1\s\tmp_conda_3.7_061434\conda\conda-bld\pytorch_1544163540495\work\aten\src\thc\generic/THCTensorMath.cu:14"
Full traceback:
  File "yanderify.py", line 218, in worker_thread
    for frame in make_animation_modified(img0, vid0, checkpoints['g'], checkpoints['kp'], cpu=cpu):

  File "yanderify.py", line 158, in make_animation_modified
    kp_source = kp_detector(source)

  File "C:\Users\username\Desktop\yanderifier-master\miniconda\envs\yanderify\lib\site-packages\torch\nn\modules\module.py", line 489, in __call__
    result = self.forward(*input, **kwargs)

  File "C:\Users\username\Desktop\yanderifier-master\miniconda\envs\yanderify\lib\site-packages\torch\nn\parallel\data_parallel.py", line 141, in forward
    return self.module(*inputs[0], **kwargs[0])

  File "C:\Users\username\Desktop\yanderifier-master\miniconda\envs\yanderify\lib\site-packages\torch\nn\modules\module.py", line 489, in __call__
    result = self.forward(*input, **kwargs)

  File "C:\Users\username\Desktop\yanderifier-master\fomm\modules\keypoint_detector.py", line 51, in forward
    x = self.down(x)

  File "C:\Users\username\Desktop\yanderifier-master\miniconda\envs\yanderify\lib\site-packages\torch\nn\modules\module.py", line 489, in __call__
    result = self.forward(*input, **kwargs)

  File "C:\Users\username\Desktop\yanderifier-master\fomm\modules\util.py", line 239, in forward
    out = F.pad(input, (self.ka, self.kb, self.ka, self.kb))

  File "C:\Users\username\Desktop\yanderifier-master\miniconda\envs\yanderify\lib\site-packages\torch\nn\functional.py", line 2669, in pad
    ret = _VF.constant_pad_nd(input, pad, value)

Installer can't find postinstall.bat

Hey, I'm trying the newest 3.0.1 version of the program, and after I run the install shortcut I get an error:

starting post-install script
& : The term '.\install\windows\postinstall.bat' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At C:\yanderifier-master\install\windows\install.ps1:72 char:3
+ & .\install\windows\postinstall.bat "$installdir\condabin\conda.bat"
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (.\install\windows\postinstall.bat:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

The previous version without this installing process worked just fine for me.

Access Denied!?

Exception in thread Thread-7:
Traceback (most recent call last):
File "threading.py", line 917, in _bootstrap_inner
File "threading.py", line 865, in run
File "yanderify.py", line 269, in worker_thread
File "yanderify.py", line 211, in worker_thread
File "imageio\core\functions.py", line 129, in get_reader
File "imageio\core\format.py", line 168, in get_reader
File "imageio\core\format.py", line 217, in init
File "imageio\plugins\ffmpeg.py", line 358, in _open
File "imageio\plugins\ffmpeg.py", line 523, in _load_infos
OSError: Could not load meta information
=== stderr ===

a crash

crash log:
(cuda100) W:\Github Project\yanderify\cuda100>.\python.exe afy\yanderify.py
If you are reading this, I'm not dead yet.
Exception in thread Thread-1:
Traceback (most recent call last):
File "W:\Github Project\yanderify\cuda100\lib\threading.py", line 917, in _bootstrap_inner
self.run()
File "W:\Github Project\yanderify\cuda100\lib\threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "afy\yanderify.py", line 172, in worker_thread
raise e
File "afy\yanderify.py", line 115, in worker_thread
img0 = imageio.imread(img0n)[:, :, :3]
IndexError: too many indices for array

Crash report

I've already tried with diferent video inputs and nothing works, i'm using the cpu mode with my ryzen 7 1700

===========================
This section contains the details the devs need to fix this issue.
If you are reporting a bug, please include this entire section.
If you leave out any of it, there is a good chance the devs will not be able to help.
Error: received a OSError at stage "predict".
Message: "[Errno 22] Invalid argument

FFMPEG COMMAND:
B:\Users\Kilkan90\Escritorio\yanderify\cuda100\Library\bin\ffmpeg.exe -y -f rawvideo -vcodec rawvideo -s 3120x2864 -pix_fmt rgb24 -r 30.00 -i - -an -vcodec libx264 -pix_fmt yuv420p -crf 25 -v warning B:\Users\Kilkan90\Escritorio\yanderify\cuda100\tmp.mp4

FFMPEG STDERR OUTPUT:
"
Full traceback:
File "afy\yanderify.py", line 136, in worker_thread
vid1.append_data(prediction)

File "B:\Users\Kilkan90\Escritorio\yanderify\cuda100\lib\site-packages\imageio\core\format.py", line 492, in append_data
return self._append_data(im, total_meta)

File "B:\Users\Kilkan90\Escritorio\yanderify\cuda100\lib\site-packages\imageio\plugins\ffmpeg.py", line 666, in _append_data
raise IOError(msg)

device=cpu B:/Users/Kilkan90/Escritorio/yanderify/cuda100/testfiles/bakamitai.mp4 B:/Users/Kilkan90/Escritorio/IMG_20200331_181652.jpg B:/Users/Kilkan90/Escritorio/jaja.mp4 This is the last line of the crash report section. ===========================

This app won't work on your PC

This section contains the details the devs need to fix this issue.
If you are reporting a bug, please include this entire section.
If you leave out any of it, there is a good chance the devs will not be able to help.
Error: received a OSError at stage "predict".
Message: "Could not load meta information
=== stderr ===

ܾʡ"
Full traceback:
File "yanderify.py", line 211, in worker_thread

File "imageio\core\functions.py", line 129, in get_reader

File "imageio\core\format.py", line 168, in get_reader

File "imageio\core\format.py", line 217, in init

File "imageio\plugins\ffmpeg.py", line 358, in _open

File "imageio\plugins\ffmpeg.py", line 523, in _load_infos

cpu=0 D:/6.mp4 D:/source.jpg D:/dst.mp4 This is the last line of the crash report section.

Loading...
Exception in thread Thread-1:
Traceback (most recent call last):
File "threading.py", line 917, in _bootstrap_inner
File "threading.py", line 865, in run
File "yanderify.py", line 269, in worker_thread
File "yanderify.py", line 211, in worker_thread
File "imageio\core\functions.py", line 129, in get_reader
File "imageio\core\format.py", line 168, in get_reader
File "imageio\core\format.py", line 217, in init
File "imageio\plugins\ffmpeg.py", line 358, in _open
File "imageio\plugins\ffmpeg.py", line 523, in _load_infos
OSError: Could not load meta information
图片
图片

Error: received a OSError at stage "predict". & This app can't run on your PC.

===========================
This section contains the details the devs need to fix this issue.
If you are reporting a bug, please include this entire section.
If you leave out any of it, there is a good chance the devs will not be able to help.
Error: received a OSError at stage "predict".
Message: "Could not load meta information
=== stderr ===

"
Full traceback:
File "yanderify.py", line 211, in worker_thread

File "imageio\core\functions.py", line 129, in get_reader

File "imageio\core\format.py", line 168, in get_reader

File "imageio\core\format.py", line 217, in init

File "imageio\plugins\ffmpeg.py", line 358, in _open

File "imageio\plugins\ffmpeg.py", line 523, in _load_infos

cpu=0 E:/Apps1/DeepfakeV/Unravel.mp4 E:/Apps1/DeepfakeV/unnamed.png E:/Apps1/DeepfakeV/test.mp4 This is the last line of the crash report section. =========================== yanderify crashed! some common problems: - you have an AMD card. AMD cards are not supported in GPU mode for technical reasons. However, you can run in CPU mode, albeit much lower. Please read the disclaimer at the top about CPUs! - you have an NVIDIA card, but there is either not enough VRAM or the card is too old. >=700-series cards with >=2GB dedicated VRAM should work fine - you have a working card, but there is not enough available VRAM to run the deepfake process. Browsers commonly cause VRAM issues. If you have any games open, try closing them. - one of the devs fucked up somewhere. if that is the case, make sure to submit the full crash report (you might have to scroll up!), otherwise we cannot help you! ===========================

When I click on 'go', Windows prompt a blue window saying : "This app can't run on your PC.". And then the yanderify.exe puts texts above.

My GPU is RTX 2060 Max-Q with 4.7GB vRAM left.(Even when I choose "I don't have NVIDIA" it still goes wrong.)

Crash on wine (Request a method on linux)

System information:
    Wine build: wine-5.15
    Platform: x86_64
    Version: Windows 7
    Host system: Linux (archlinux)
    Host version: 5.8.1-zen1-1-zen

Error Details

Unhandled exception: page fault on read access to 0x00000005 in 64-bit code (0x000000007bc559e0).
Register dump:
 rip:000000007bc559e0 rsp:00000000002189b8 rbp:0000000000000000 eflags:00010286 (  R- --  I S - -P- )
 rax:0000000000000000 rbx:00000000ffffffff rcx:0000000000000005 rdx:00000000ffffffff
 rsi:0000000000218c20 rdi:0000000000218a60  r8:00000000ffffffff  r9:0000000000218a60 r10:0000000000000000
 r11:0000000000000000 r12:0000000000000005 r13:00000000002190b0 r14:0000000000000000 r15:00000000002190b8
Stack dump:
0x00000000002189b8:  000000007bc419b0 0000000000218e98
0x00000000002189c8:  0000000000218d58 0000000000000000
0x00000000002189d8:  fffffffffffffffe 0000000000218c20
0x00000000002189e8:  0000000000000001 0000000000218c20
0x00000000002189f8:  0000000000000001 0000000000000073
0x0000000000218a08:  0000000000000000 000000007bc71316
0x0000000000218a18:  000000007bc42259 000000007e842002
0x0000000000218a28:  0000000000219930 0000000000218bb0
0x0000000000218a38:  fffffffffffffffe ffffffff00000000
0x0000000000218a48:  0000000000000000 fffffffffffffffe
0x0000000000218a58:  0000000000218a60 0000000000000000
0x0000000000218a68:  0000000000000000 00007300ffffffff
Backtrace:
=>0 0x000000007bc559e0 EntryPoint+0xffffffffffffffff() in ntdll (0x0000000000000000)
  1 0x000000007bc419b0 EntryPoint+0xffffffffffffffff() in ntdll (0x0000000000000000)
  2 0x000000007bc42259 EntryPoint+0xffffffffffffffff() in ntdll (0x0000000000000000)
  3 0x000000007bc430bf EntryPoint+0xffffffffffffffff() in ntdll (0x000000007bc712d2)
  4 0x000000007bc523f3 EntryPoint+0xffffffffffffffff() in ntdll (0x000000007bc712d2)
  5 0x000000007bc54344 EntryPoint+0xffffffffffffffff() in ntdll (0x000000007bc712d2)
  6 0x000000007bc5235c EntryPoint+0xffffffffffffffff() in ntdll (0x0000000000219720)
  7 0x000000007bc2df38 EntryPoint+0xffffffffffffffff() in ntdll (0x0000000000219720)
  8 0x000000003214eb1e EntryPoint+0xffffffffffffffff() in caffe2 (0x0000000000219720)
  9 0x000000007bc57802 EntryPoint+0xffffffffffffffff() in ntdll (0x0000000000219c80)
  10 0x000000007b06c782 EntryPoint+0x34a81() in kernelbase (0x0000000000219c80)
  11 0x000000003214e57e EntryPoint+0xffffffffffffffff() in caffe2 (0x0000000000219c80)
  12 0x000000003119e2d9 EntryPoint+0xffffffffffffffff() in caffe2 (0x0000000000219c80)
  13 0x000000003116c989 EntryPoint+0xffffffffffffffff() in caffe2 (0x0000000000219c80)
  14 0x000000003116b35b EntryPoint+0xffffffffffffffff() in caffe2 (0x0000000000219e10)
  15 0x000000003116dcb8 EntryPoint+0xffffffffffffffff() in caffe2 (0x0000000000219fd0)
0x000000007bc559e0 EntryPoint+0xffffffffffffffff in ntdll: cmpb	$0,(%rcx)
Modules:
Module	Address					Debug info	Name (297 modules)
PE	          780000-          783000	Deferred        api-ms-win-crt-time-l1-1-0
PE	          790000-          793000	Deferred        api-ms-win-crt-process-l1-1-0
PE	          bc0000-          be4000	Deferred        _ctypes.pyd
PE	         15c0000-         15d5000	Deferred        _socket.pyd
PE	         15e0000-         15e9000	Deferred        select.pyd
PE	         16f0000-         1708000	Deferred        _bz2.pyd
PE	         1710000-         1751000	Deferred        _lzma.pyd
PE	         17a0000-         17d6000	Deferred        pyexpat.pyd
PE	         1820000-         182d000	Deferred        _hashlib.pyd
PE	         1830000-         1a95000	Deferred        libcrypto-1_1-x64
PE	         1aa0000-         1aa3000	Deferred        api-ms-win-crt-utility-l1-1-0
PE	         1c30000-         1c3a000	Deferred        _multiprocessing.pyd
PE	         1c40000-         1c4b000	Deferred        geometry.cp37-win_amd64.pyd
PE	         1d50000-         1d71000	Deferred        _ssl.pyd
PE	         1d80000-         1e06000	Deferred        libssl-1_1-x64
PE	         1f10000-         20bf000	Deferred        multiarray.cp37-win_amd64.pyd
PE	         20c0000-         2f3e000	Deferred        mkl_rt
PE	         2f40000-         3025000	Deferred        umath.cp37-win_amd64.pyd
PE	         3230000-         323b000	Deferred        lapack_lite.cp37-win_amd64.pyd
PE	         3240000-         3265000	Deferred        _umath_linalg.cp37-win_amd64.pyd
PE	         32b0000-         32f5000	Deferred        _decimal.pyd
PE	         3340000-         335d000	Deferred        _multiarray_tests.cp37-win_amd64.pyd
PE	         3360000-         3368000	Deferred        _mklinit.cp37-win_amd64.pyd
PE	         3370000-         3389000	Deferred        fftpack_lite.cp37-win_amd64.pyd
PE	         3390000-         33d4000	Deferred        _pydfti.cp37-win_amd64.pyd
PE	         3420000-         34d3000	Deferred        mtrand.cp37-win_amd64.pyd
PE	         3560000-         5465000	Deferred        mkl_intel_thread
PE	         5470000-         567d000	Deferred        libiomp5md
PE	         5680000-         9a3a000	Deferred        mkl_core
PE	         9a40000-         c725000	Deferred        mkl_avx2
PE	         c730000-         d388000	Deferred        mkl_vml_avx2
PE	         d6e0000-         d6f3000	Deferred        _tkinter.pyd
PE	         d700000-         d8aa000	Deferred        tcl86t
PE	         d8b0000-         da1b000	Deferred        tk86t
PE	         da20000-         dc76000	Deferred        comdlg32
PE	         dc80000-         e1dd000	Deferred        comctl32
PE	         e280000-         e289000	Deferred        _queue.pyd
PE	         e350000-         e357000	Deferred        _nvrtc.cp37-win_amd64.pyd
PE	         e360000-         e367000	Deferred        _c.cp37-win_amd64.pyd
PE	         e370000-         eba0000	Deferred        torch_python
PE	         eba0000-         f77f000	Deferred        torch
PE	         f780000-         f790000	Deferred        nvtoolsext64_1
PE	         f790000-        25890000	Deferred        caffe2_gpu
PE	        25890000-        28e89000	Deferred        cusparse64_100
PE	        28e90000-        2c373000	Deferred        curand64_100
PE	        2c380000-        34085000	Export          caffe2
PE	        34090000-        340c5000	Deferred        c10
PE	        341f0000-        48779000	Deferred        cudnn64_7
PE	        48780000-        4e927000	Deferred        cufft64_100
PE	        4e930000-        5297c000	Deferred        cublas64_100
PE	        52980000-        52989000	Deferred        shm
PE	        54f30000-        54f66000	Deferred        _elementtree.pyd
PE	        54f70000-        54f7b000	Deferred        _tifffile.cp37-win_amd64.pyd
PE	        55480000-        554b5000	Deferred        _yaml.cp37-win_amd64.pyd
PE	        554c0000-        554e0000	Deferred        yaml
PE	        557a0000-        557b5000	Deferred        _ccallback_c.cp37-win_amd64.pyd
PE	        557c0000-        557f3000	Deferred        _fftpack.cp37-win_amd64.pyd
PE	        55800000-        55c18000	Deferred        libmmd
PE	        55d30000-        55d43000	Deferred        convolve.cp37-win_amd64.pyd
PE	        55d90000-        55e22000	Deferred        _fblas.cp37-win_amd64.pyd
PE	        55e30000-        55f59000	Deferred        _flapack.cp37-win_amd64.pyd
PE	        55fa0000-        55fb2000	Deferred        _flinalg.cp37-win_amd64.pyd
PE	        55fc0000-        55ff6000	Deferred        _solve_toeplitz.cp37-win_amd64.pyd
PE	        56040000-        56082000	Deferred        _decomp_update.cp37-win_amd64.pyd
PE	        56090000-        560ce000	Deferred        cython_blas.cp37-win_amd64.pyd
PE	        560d0000-        56167000	Deferred        cython_lapack.cp37-win_amd64.pyd
PE	        561b0000-        563c6000	Deferred        _sparsetools.cp37-win_amd64.pyd
PE	        56410000-        5647c000	Deferred        _csparsetools.cp37-win_amd64.pyd
PE	        56480000-        564b2000	Deferred        _shortest_path.cp37-win_amd64.pyd
PE	        564c0000-        564e1000	Deferred        _tools.cp37-win_amd64.pyd
PE	        56530000-        56551000	Deferred        _traversal.cp37-win_amd64.pyd
PE	        56560000-        5658e000	Deferred        _min_spanning_tree.cp37-win_amd64.pyd
PE	        56590000-        565d4000	Deferred        _reordering.cp37-win_amd64.pyd
PE	        56830000-        5686b000	Deferred        _hough_transform.cp37-win_amd64.pyd
PE	        56870000-        568b1000	Deferred        _draw.cp37-win_amd64.pyd
PE	        568c0000-        569f1000	Deferred        _ufuncs.cp37-win_amd64.pyd
PE	        56a00000-        56bc1000	Deferred        libifcoremd
PE	        56ce0000-        56cfe000	Deferred        _ufuncs_cxx.cp37-win_amd64.pyd
PE	        56d40000-        56dbe000	Deferred        specfun.cp37-win_amd64.pyd
PE	        56dc0000-        56dcd000	Deferred        _comb.cp37-win_amd64.pyd
PE	        56dd0000-        56de6000	Deferred        _ellip_harm_2.cp37-win_amd64.pyd
PE	        56e30000-        56e4e000	Deferred        _fitpack.cp37-win_amd64.pyd
PE	        56e50000-        56e90000	Deferred        dfitpack.cp37-win_amd64.pyd
PE	        56e90000-        56ecf000	Deferred        _bspl.cp37-win_amd64.pyd
PE	        56ed0000-        56f1f000	Deferred        _ppoly.cp37-win_amd64.pyd
PE	        56f20000-        56f6d000	Deferred        interpnd.cp37-win_amd64.pyd
PE	        56fb0000-        5701c000	Deferred        ckdtree.cp37-win_amd64.pyd
PE	        57020000-        570e3000	Deferred        qhull.cp37-win_amd64.pyd
PE	        570f0000-        570ff000	Deferred        messagestream.cp37-win_amd64.pyd
PE	        57100000-        5712c000	Deferred        _voronoi.cp37-win_amd64.pyd
PE	        57130000-        57149000	Deferred        _distance_wrap.cp37-win_amd64.pyd
PE	        57150000-        5717c000	Deferred        _hausdorff.cp37-win_amd64.pyd
PE	        571c0000-        571eb000	Deferred        _warps_cy.cp37-win_amd64.pyd
PE	        571f0000-        5721b000	Deferred        _radon_transform.cp37-win_amd64.pyd
PE	        57220000-        57243000	Deferred        _nd_image.cp37-win_amd64.pyd
PE	        572d0000-        57364000	Deferred        _imaging.cp37-win_amd64.pyd
PE	        57370000-        57388000	Deferred        zlib
PE	        57390000-        5742f000	Deferred        tiff
PE	        57430000-        5745a000	Deferred        liblzma
PE	        57460000-        574d1000	Deferred        zstd
PE	        57630000-        57675000	Deferred        _ni_label.cp37-win_amd64.pyd
PE	        57680000-        576a6000	Deferred        _find_contours_cy.cp37-win_amd64.pyd
PE	        576b0000-        576ef000	Deferred        _marching_cubes_lewiner_cy.cp37-win_amd64.pyd
PE	        576f0000-        5779d000	Deferred        _marching_cubes_classic_cy.cp37-win_amd64.pyd
PE	        577e0000-        577fa000	Deferred        _ccomp.cp37-win_amd64.pyd
PE	        57800000-        57825000	Deferred        _moments_cy.cp37-win_amd64.pyd
PE	        57830000-        5784d000	Deferred        sigtools.cp37-win_amd64.pyd
PE	        57850000-        5787a000	Deferred        _max_len_seq_inner.cp37-win_amd64.pyd
PE	        57880000-        578b7000	Deferred        _upfirdn_apply.cp37-win_amd64.pyd
PE	        578c0000-        578ce000	Deferred        spline.cp37-win_amd64.pyd
PE	        57910000-        5791f000	Deferred        minpack2.cp37-win_amd64.pyd
PE	        57960000-        57995000	Deferred        _iterative.cp37-win_amd64.pyd
PE	        579a0000-        579ea000	Deferred        _superlu.cp37-win_amd64.pyd
PE	        579f0000-        57a59000	Deferred        _arpack.cp37-win_amd64.pyd
PE	        57aa0000-        57ae5000	Deferred        _trlib.cp37-win_amd64.pyd
PE	        57af0000-        57b1d000	Deferred        _group_columns.cp37-win_amd64.pyd
PE	        57b60000-        57b78000	Deferred        _lbfgsb.cp37-win_amd64.pyd
PE	        57b80000-        57b91000	Deferred        moduletnc.cp37-win_amd64.pyd
PE	        57ba0000-        57bb3000	Deferred        _cobyla.cp37-win_amd64.pyd
PE	        57bc0000-        57bd2000	Deferred        _slsqp.cp37-win_amd64.pyd
PE	        57be0000-        57bf2000	Deferred        _minpack.cp37-win_amd64.pyd
PE	        57c40000-        57c6a000	Deferred        givens_elimination.cp37-win_amd64.pyd
PE	        57c70000-        57c78000	Deferred        _zeros.cp37-win_amd64.pyd
PE	        57cc0000-        57ccd000	Deferred        _nnls.cp37-win_amd64.pyd
PE	        57d10000-        57d24000	Deferred        _odepack.cp37-win_amd64.pyd
PE	        57d30000-        57d48000	Deferred        _quadpack.cp37-win_amd64.pyd
PE	        57d50000-        57d71000	Deferred        vode.cp37-win_amd64.pyd
PE	        57d80000-        57d96000	Deferred        _dop.cp37-win_amd64.pyd
PE	        57da0000-        57db7000	Deferred        lsoda.cp37-win_amd64.pyd
PE	        57e00000-        57e10000	Deferred        _spectral.cp37-win_amd64.pyd
PE	        57f10000-        57f64000	Deferred        _stats.cp37-win_amd64.pyd
PE	        58070000-        5807e000	Deferred        statlib.cp37-win_amd64.pyd
PE	        580c0000-        581d1000	Deferred        mvn.cp37-win_amd64.pyd
PE	        58220000-        58254000	Deferred        _peak_finding_utils.cp37-win_amd64.pyd
PE	        58260000-        5828c000	Deferred        _pnpoly.cp37-win_amd64.pyd
PE	        58290000-        582bf000	Deferred        _seam_carving.cp37-win_amd64.pyd
PE	        582c0000-        588d6000	Deferred        cv2.cp37-win_amd64.pyd
PE	        588e0000-        5892d000	Deferred        opencv_reg341
PE	        58930000-        5b23a000	Deferred        opencv_imgproc341
PE	        5b240000-        5bef2000	Deferred        opencv_core341
PE	        5bf00000-        5bf93000	Deferred        opencv_surface_matching341
PE	        5bfa0000-        5c042000	Deferred        opencv_flann341
PE	        5c050000-        5c11c000	Deferred        opencv_xphoto341
PE	        5c120000-        5c15f000	Deferred        opencv_fuzzy341
PE	        5c160000-        5c1a3000	Deferred        opencv_hfs341
PE	        5c1b0000-        5c1f1000	Deferred        opencv_img_hash341
PE	        5c200000-        5c271000	Deferred        opencv_line_descriptor341
PE	        5c280000-        5c2e5000	Deferred        opencv_saliency341
PE	        5c2f0000-        5c3ca000	Deferred        opencv_ccalib341
PE	        5c3d0000-        5c63a000	Deferred        opencv_calib3d341
PE	        5c640000-        5c737000	Deferred        opencv_features2d341
PE	        5c740000-        5c77c000	Deferred        opencv_highgui341
PE	        5c780000-        5c7e9000	Deferred        opencv_videoio341
PE	        5c7f0000-        5ca6a000	Deferred        opencv_imgcodecs341
PE	        5ca70000-        5caa4000	Deferred        libpng16
PE	        5cab0000-        5cb26000	Deferred        msacm32
PE	        5cb30000-        5cccc000	Deferred        winmm
PE	        5ccd0000-        5cd46000	Deferred        msvfw32
PE	        5cd50000-        5ce53000	Deferred        opencv_rgbd341
PE	        5ce60000-        5ceb6000	Deferred        opencv_structured_light341
PE	        5cec0000-        5cef5000	Deferred        opencv_phase_unwrapping341
PE	        5cf00000-        5cfa6000	Deferred        opencv_aruco341
PE	        5cfb0000-        5d016000	Deferred        opencv_bgsegm341
PE	        5d020000-        5d096000	Deferred        opencv_video341
PE	        5d0a0000-        5d19b000	Deferred        opencv_face341
PE	        5d1a0000-        5d248000	Deferred        opencv_objdetect341
PE	        5d250000-        5d2e7000	Deferred        opencv_optflow341
PE	        5d2f0000-        5d580000	Deferred        opencv_ximgproc341
PE	        5d580000-        5d6b8000	Deferred        opencv_stitching341
PE	        5d6c0000-        5d9b2000	Deferred        opencv_xfeatures2d341
PE	        5d9c0000-        5dac9000	Deferred        opencv_photo341
PE	        5dad0000-        5dd60000	Deferred        opencv_tracking341
PE	        5dd60000-        5e207000	Deferred        opencv_dnn341
PE	        5e210000-        5e23f000	Deferred        opencv_plot341
PE	        5e240000-        5e3d7000	Deferred        opencv_text341
PE	        5e3e0000-        5e4c6000	Deferred        opencv_ml341
PE	        5e4d0000-        5e534000	Deferred        opencv_shape341
PE	        5ea20000-        5ea4e000	Deferred        _path.cp37-win_amd64.pyd
PE	        5ebd0000-        5ebe4000	Deferred        _contour.cp37-win_amd64.pyd
PE	        5ec70000-        5ec8b000	Deferred        ft2font.cp37-win_amd64.pyd
PE	        5ec90000-        5ed2f000	Deferred        freetype
PE	        5ee70000-        5ef79000	Deferred        unicodedata.pyd
PE	        5ef80000-        5ef8e000	Deferred        _png.cp37-win_amd64.pyd
PE	        5f010000-        5f033000	Deferred        kiwisolver.cp37-win_amd64.pyd
PE	        5f080000-        5f0ae000	Deferred        _image.cp37-win_amd64.pyd
PE	        5f2b0000-        5f2d0000	Deferred        _tri.cp37-win_amd64.pyd
PE	        5f2d0000-        5f334000	Deferred        _qhull.cp37-win_amd64.pyd
PE	        5f440000-        5f476000	Deferred        _backend_agg.cp37-win_amd64.pyd
PE	        5f4c0000-        5f4ca000	Deferred        _check_build.cp37-win_amd64.pyd
PE	        5f510000-        5f527000	Deferred        murmurhash.cp37-win_amd64.pyd
PE	        5f5f0000-        5f5ff000	Deferred        _logistic_sigmoid.cp37-win_amd64.pyd
PE	        5f600000-        5f658000	Deferred        sparsefuncs_fast.cp37-win_amd64.pyd
PE	        5f6a0000-        5f6b8000	Deferred        expected_mutual_info_fast.cp37-win_amd64.pyd
PE	        5f6c0000-        5f6cb000	Deferred        lgamma.cp37-win_amd64.pyd
PE	        5f710000-        5f744000	Deferred        pairwise_fast.cp37-win_amd64.pyd
PE	        5f750000-        5f768000	Deferred        _random.cp37-win_amd64.pyd
PE	        5f7b0000-        5f7de000	Deferred        tslib.cp37-win_amd64.pyd
PE	        5f7e0000-        5f816000	Deferred        conversion.cp37-win_amd64.pyd
PE	        5f820000-        5f830000	Deferred        np_datetime.cp37-win_amd64.pyd
PE	        5f830000-        5f85b000	Deferred        nattype.cp37-win_amd64.pyd
PE	        5f860000-        5f8ac000	Deferred        timedeltas.cp37-win_amd64.pyd
PE	        5f8f0000-        5f90d000	Deferred        timezones.cp37-win_amd64.pyd
PE	        5f910000-        5f948000	Deferred        parsing.cp37-win_amd64.pyd
PE	        5f950000-        5f964000	Deferred        ccalendar.cp37-win_amd64.pyd
PE	        5f970000-        5f9a8000	Deferred        strptime.cp37-win_amd64.pyd
PE	        5f9b0000-        5f9f9000	Deferred        timestamps.cp37-win_amd64.pyd
PE	        5fa00000-        5fa22000	Deferred        fields.cp37-win_amd64.pyd
PE	        5fa30000-        5faa6000	Deferred        hashtable.cp37-win_amd64.pyd
PE	        5fab0000-        5fac9000	Deferred        missing.cp37-win_amd64.pyd
PE	        5fad0000-        5fb43000	Deferred        lib.cp37-win_amd64.pyd
PE	        5fbd0000-        5fd00000	Deferred        algos.cp37-win_amd64.pyd
PE	        5fd40000-        5fd54000	Deferred        properties.cp37-win_amd64.pyd
PE	        5fd60000-        5fd74000	Deferred        hashing.cp37-win_amd64.pyd
PE	        5fe80000-        5feea000	Deferred        index.cp37-win_amd64.pyd
PE	        5fef0000-        5ff3a000	Deferred        period.cp37-win_amd64.pyd
PE	        5ff40000-        5ff61000	Deferred        frequencies.cp37-win_amd64.pyd
PE	        5ff70000-        5ffa7000	Deferred        resolution.cp37-win_amd64.pyd
PE	        5fff0000-        6003c000	Deferred        offsets.cp37-win_amd64.pyd
PE	        60040000-        601d1000	Deferred        join.cp37-win_amd64.pyd
PE	        60220000-        6023a000	Deferred        ops.cp37-win_amd64.pyd
PE	        602c0000-        60491000	Deferred        interval.cp37-win_amd64.pyd
PE	        60560000-        6056f000	Deferred        indexing.cp37-win_amd64.pyd
PE	        605b0000-        605e9000	Deferred        internals.cp37-win_amd64.pyd
PE	        606b0000-        60760000	Deferred        sparse.cp37-win_amd64.pyd
PE	        60820000-        608ab000	Deferred        window.cp37-win_amd64.pyd
PE	        608b0000-        608ca000	Deferred        skiplist.cp37-win_amd64.pyd
PE	        60950000-        6098c000	Deferred        reduction.cp37-win_amd64.pyd
PE	        60990000-        60a2b000	Deferred        groupby.cp37-win_amd64.pyd
PE	        60a70000-        60a8e000	Deferred        reshape.cp37-win_amd64.pyd
PE	        60b10000-        60b7b000	Deferred        parsers.cp37-win_amd64.pyd
PE	        60b80000-        60b97000	Deferred        json.cp37-win_amd64.pyd
PE	        60c20000-        60c52000	Deferred        writers.cp37-win_amd64.pyd
PE	        60d20000-        60d36000	Deferred        _packer.cp37-win_amd64.pyd
PE	        60d40000-        60d5a000	Deferred        _unpacker.cp37-win_amd64.pyd
PE	        60d60000-        60d69000	Deferred        _move.cp37-win_amd64.pyd
PE	        60d70000-        60d86000	Deferred        testing.cp37-win_amd64.pyd
PE	        60e10000-        60ee0000	Deferred        _brotli.cp37-win_amd64.pyd
PE	        60ee0000-        60f12000	Deferred        _cffi_backend.cp37-win_amd64.pyd
PE	        611e0000-        611e9000	Deferred        _constant_time.cp37-win_amd64.pyd
PE	        61230000-        612d4000	Deferred        _openssl.cp37-win_amd64.pyd
PE	        612e0000-        614ed000	Deferred        libeay32
PE	        61540000-        61543000	Deferred        api-ms-win-crt-locale-l1-1-0
PE	        61550000-        615ac000	Deferred        ssleay32
PE	        61900000-        619b9000	Deferred        sechost
PE	        620c0000-        620c3000	Deferred        api-ms-win-crt-filesystem-l1-1-0
PE	        62140000-        621e5000	Deferred        uxtheme
PE	        62600000-        6271a000	Deferred        usp10
PE	        62740000-        62778000	Deferred        imagehlp
PE	        63140000-        63144000	Deferred        api-ms-win-crt-runtime-l1-1-0
PE	        63800000-        63803000	Deferred        api-ms-win-crt-heap-l1-1-0
PE	        64500000-        64551000	Deferred        concrt140
PE	        64940000-        64992000	Deferred        shcore
PE	        65000000-        65645000	Deferred        ole32
PE	        65780000-        6579f000	Deferred        version
PE	        66200000-        6647e000	Deferred        dbghelp
PE	        66500000-        665ba000	Deferred        rsaenh
PE	        66a80000-        66b1b000	Deferred        msvcp140
PE	        67600000-        676ac000	Deferred        combase
PE	        67d00000-        67d2b000	Deferred        userenv
PE	        68a40000-        68b4e000	Deferred        shlwapi
PE	        69380000-        69384000	Deferred        api-ms-win-crt-stdio-l1-1-0
PE	        69b80000-        69b83000	Deferred        api-ms-win-crt-environment-l1-1-0
PE	        6a100000-        6a5f7000	Deferred        oleaut32
PE	        6a700000-        6a8e1000	Deferred        setupapi
PE	        6b480000-        6b48e000	Deferred        api-ms-win-core-path-l1-1-0
PE	        6b880000-        6b88e000	Deferred        api-ms-win-core-fibers-l1-1-1
PE	        6bec0000-        6bf23000	Deferred        imm32
PE	        6d580000-        6d584000	Deferred        api-ms-win-crt-convert-l1-1-0
PE	        6dd80000-        6dd84000	Deferred        api-ms-win-crt-string-l1-1-0
PE	        6e340000-        6e34f000	Deferred        api-ms-win-core-synch-l1-2-0
PE	        6e480000-        6e593000	Deferred        avifil32
PE	        6e6c0000-        6e6cf000	Deferred        api-ms-win-core-localization-l1-2-1
PE	        6eac0000-        6ead5000	Deferred        vcruntime140
PE	        6ec80000-        6ec83000	Deferred        api-ms-win-crt-conio-l1-1-0
PE	        6fbc0000-        6fe3a000	Deferred        rpcrt4
PE	        70580000-        70585000	Deferred        api-ms-win-crt-math-l1-1-0
PE	        7b000000-        7b3fb000	Dwarf           kernelbase
PE	        7b620000-        7b7db000	Deferred        kernel32
PE	        7bc00000-        7bf4f000	Dwarf           ntdll
PE	       140000000-       140051000	Deferred        yanderify
PE	       180000000-       1803d9000	Deferred        python37
PE	    7fae92140000-    7fae921e3000	Deferred        msvcr90
PE	    7fae92230000-    7fae92233000	Deferred        msvcr120
PE	    7fae928f0000-    7fae928f3000	Deferred        avicap32
PE	    7fae92b50000-    7fae92b54000	Deferred        winex11
PE	    7fae92c10000-    7fae92c1b000	Deferred        winspool
PE	    7fae92c80000-    7fae93557000	Deferred        shell32
PE	    7fae936a0000-    7fae936a4000	Deferred        dnsapi
PE	    7fae936d0000-    7fae936d4000	Deferred        iphlpapi
PE	    7fae93d00000-    7fae93d03000	Deferred        netapi32
PE	    7fae93d50000-    7fae93d94000	Deferred        crypt32
PE	    7fae93e50000-    7fae93e54000	Deferred        bcrypt
PE	    7fae943d0000-    7fae944b8000	Deferred        user32
PE	    7fae94650000-    7fae94657000	Deferred        gdi32
PE	    7fae94960000-    7fae94a5a000	Deferred        ucrtbase
PE	    7fae94b70000-    7fae94b74000	Deferred        advapi32
PE	    7fae950b0000-    7fae950b4000	Deferred        ws2_32

Takes a lot of time to load sources and then crashes

I have a nvidia gtx 1050 and i tried running it in cpu mode but it didnt worked please help

Crash report:

This section contains the details the devs need to fix this issue.
If you are reporting a bug, please include this entire section.
If you leave out any of it, there is a good chance the devs will not be able to help.
Error: received a MemoryError at stage "predict".
Message: ""
Full traceback:
File "yanderify.py", line 220, in worker_thread

File "yanderify.py", line 194, in resize

File "skimage\transform_warps.py", line 169, in resize

File "skimage\transform_warps.py", line 850, in warp

File "skimage\transform_warps_cy.pyx", line 90, in skimage.transform._warps_cy._warp_fast

File "numpy\core\numeric.py", line 590, in ascontiguousarray

cpu=1 C:/Users/User/Desktop/DF1.mp4 C:/Users/User/Desktop/DF2.png C:/Users/User/Desktop/DFO.mp4 This is the last line of the crash report section. ===========================

the latest cannot run,older cannot run,too.this is older,THANKS

This section contains the details the devs need to fix this issue.
If you are reporting a bug, please include this entire section.
If you leave out any of it, there is a good chance the devs will not be able to help.
Error: received a OSError at stage "predict".
Message: "Failed to open file b'C:\Users\\xe5\x88\x98\xe5\xb0\x8f\xe6\xb3\xbd\AppData\Local\Temp\scipy-hk4tvvuu'"
Full traceback:
File "afy\yanderify.py", line 134, in worker_thread
prediction = predictor.predict(frame)

File "E:\BaiduNetdiskDownload\yanderify\yanderify\yanderify\cuda100\afy\afy\predictor_local.py", line 77, in predict
self.start_frame_kp = self.get_frame_kp(driving_frame)

File "E:\BaiduNetdiskDownload\yanderify\yanderify\yanderify\cuda100\afy\afy\predictor_local.py", line 95, in get_frame_kp
kp_image = self.normalize_alignment_kp(kp_image)

File "E:\BaiduNetdiskDownload\yanderify\yanderify\yanderify\cuda100\afy\afy\predictor_local.py", line 103, in normalize_alignment_kp
area = ConvexHull(kp[:, :2]).volume

File "qhull.pyx", line 2335, in scipy.spatial.qhull.ConvexHull.init

File "qhull.pyx", line 266, in scipy.spatial.qhull._Qhull.init

File "messagestream.pyx", line 36, in scipy._lib.messagestream.MessageStream.init

device=cpu E:/cudachange/sucai.mp4 E:/cudachange/taogeimage.png E:/cudachange/NVIDIA.mp4 This is the last line of the crash report section. =========================== yanderify crashed! some common problems: - you have an AMD card. AMD cards are not supported in GPU mode for technical reasons. However, you can run in CPU mode, albeit much lower. Please read the disclaimer at the top about CPUs! - you have an NVIDIA card, but there is either not enough VRAM or the card is too old. >=700-series cards with >=2GB dedicated VRAM should work fine - you have a working card, but there is not enough available VRAM to run the deepfake process. Browsers commonly cause VRAM issues. If you have any games open, try closing them. - one of the devs fucked up somewhere. if that is the case, make sure to submit the full crash report (you might have to scroll up!), otherwise we cannot help you!

No GPU load whatsoever

Have a 2070S but it was putting no load on it was so ever and putting all the load on the my i5 9600k's integrated gpu. Any way on how to fix this? All outputs are through the GPU.

Ordinal 242 error.

I just downloaded v2.0.3 and says it has a potential fix for this error. Seems to not fix it for my case. Any solutions?

3.0.5 crashes almost instantly after running the model

Using 3.0.5, already had Python installed before installing Yanderifer. Previous releases have worked for me, but now all I get is crashing. (I may just be stupid but pls help)

This section contains the details the devs need to fix this issue.
If you are reporting a bug, please include this entire section.
If you leave out any of it, there is a good chance the devs will not be able to help.
Error: received a OSError at stage "predict".
Message: "[Errno 22] Invalid argument

FFMPEG COMMAND:
D:\sethh\Downloads\epicness\yanderifier-master\yanderifier-master\miniconda\envs\yanderify\Library\bin\ffmpeg.exe -y -f rawvideo -vcodec rawvideo -s 512x512 -pix_fmt rgb24 -r 30.00 -i - -an -vcodec libx264 -pix_fmt yuv420p -crf 25 -v warning D:\sethh\Downloads\epicness\yanderifier-master\yanderifier-master\yanderify\tmp.mp4

FFMPEG STDERR OUTPUT:
"
Full traceback:
File "yanderify.py", line 221, in worker_thread
vid1.append_data(img_as_ubyte(resize(frame, size)))

File "D:\sethh\Downloads\epicness\yanderifier-master\yanderifier-master\miniconda\envs\yanderify\lib\site-packages\imageio\core\format.py", line 492, in append_data
return self._append_data(im, total_meta)

File "D:\sethh\Downloads\epicness\yanderifier-master\yanderifier-master\miniconda\envs\yanderify\lib\site-packages\imageio\plugins\ffmpeg.py", line 666, in _append_data
raise IOError(msg)

cpu=0 C:/Users/sethh/Desktop/yanderifier-master/radstuff/bakamitaitemplate.mp4 C:/Users/sethh/Desktop/yanderifier-master/radstuff/norman.jpeg C:/Users/sethh/Desktop/yanderifier-master/radstuff/yes.mp4 This is the last line of the crash report section. ---------------------------------------------------------------------------------------------------------------------------------------------- CPU, GPU, and RAM are:

Core i5 9600k
RTX 2060 6GB VRAM
16 GB DDR4 RAM

Unkown encoder libx264

Loading...
Unknown encoder 'libx264'
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Users\saed_\Downloads\yanderifier-master\miniconda\envs\yanderify\lib\site-packages\imageio\plugins\ffmpeg.py", line 661, in _append_data
self._proc.stdin.write(im.tostring())
OSError: [Errno 22] Invalid argument

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\saed_\Downloads\yanderifier-master\miniconda\envs\yanderify\lib\threading.py", line 917, in bootstrap_inner
self.run()
File "C:\Users\saed
\Downloads\yanderifier-master\miniconda\envs\yanderify\lib\threading.py", line 865, in run
self._target(*self._args, **self.kwargs)
File "yanderify.py", line 257, in worker_thread
raise e
File "yanderify.py", line 221, in worker_thread
vid1.append_data(img_as_ubyte(resize(frame, size)))
File "C:\Users\saed
\Downloads\yanderifier-master\miniconda\envs\yanderify\lib\site-packages\imageio\core\format.py", line 492, in append_data
return self.append_data(im, total_meta)
File "C:\Users\saed
\Downloads\yanderifier-master\miniconda\envs\yanderify\lib\site-packages\imageio\plugins\ffmpeg.py", line 666, in _append_data
raise IOError(msg)
OSError: [Errno 22] Invalid argument

FFMPEG COMMAND:
C:\Users\saed_\Downloads\yanderifier-master\miniconda\envs\yanderify\Library\bin\ffmpeg.exe -y -f rawvideo -vcodec rawvideo -s 256x256 -pix_fmt rgb24 -r 30.00 -i - -an -vcodec libx264 -pix_fmt yuv420p -crf 25 -v warning C:\Users\saed_\Downloads\yanderifier-master\yanderify\tmp.mp4

FFMPEG STDERR OUTPUT:

CUDA Memory Error (i probably ran out of VRAM lol)

This section contains the details the devs need to fix this issue.
If you are reporting a bug, please include this entire section.
If you leave out any of it, there is a good chance the devs will not be able to help.
Error: received a RuntimeError at stage "predict".
Message: "CUDA error: an illegal memory access was encountered"
Full traceback:
  File "yanderify.py", line 215, in worker_thread
    for frame in make_animation_modified(img0, vid0, checkpoints['g'], checkpoints['kp'], cpu=cpu):

  File "yanderify.py", line 172, in make_animation_modified
    predictions.append(np.transpose(out['prediction'].data.cpu().numpy(), [0, 2, 3, 1])[0])

<log>
cpu=0
</log>
<inputs>
{S:/Downloads/xue hua piao piao bei feng xiao xiao Type Beat (prod. Goated) Chinese Eggman Singing.mp4} C:/Users/user/Pictures/ues.jpg {S:/Videos/else if/output.mp4}
</inputs>
This is the last line of the crash report section.

Stretching videos out after updating

Was previously using v2.0.5 and it was working great, but decided to update to see what was new. After updating to v4.0.2, all videos that I output are stretched out horizontally. I am using the exact same source files that I was in v2.0.5.

I also tried turning off the "relative" advanced option but that only broke things further.

For example, a video created in v2.0.5 was 528x640 resolution.
The same video made in v4.0.2 is 640x528. This results in the output being stretched horizontally. It looks like width and height are being flipped?

The source image is 518x639 and the source video is 256x256.

Not sure if it matters but I want to provide as much info as possible. My PC specs are:
Ryzen 9 3900X
32GB DDR4
RTX 2080 Super
Windows 10 1909

yanderify crashed?!

have no idea what's going on here

this is from the command line

Loading...
Unknown encoder 'libx264'
Exception in thread Thread-1:
Traceback (most recent call last):
File "D:\Users\User\Desktop\yanderifier-master\miniconda\envs\yanderify\lib\site-packages\imageio\plugins\ffmpeg.py", line 661, in _append_data
self._proc.stdin.write(im.tostring())
OSError: [Errno 22] Invalid argument

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\Users\User\Desktop\yanderifier-master\miniconda\envs\yanderify\lib\threading.py", line 917, in _bootstrap_inner
self.run()
File "D:\Users\User\Desktop\yanderifier-master\miniconda\envs\yanderify\lib\threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "yanderify.py", line 260, in worker_thread
raise e
File "yanderify.py", line 224, in worker_thread
vid1.append_data(img_as_ubyte(resize(frame, size)))
File "D:\Users\User\Desktop\yanderifier-master\miniconda\envs\yanderify\lib\site-packages\imageio\core\format.py", line 492, in append_data
return self._append_data(im, total_meta)
File "D:\Users\User\Desktop\yanderifier-master\miniconda\envs\yanderify\lib\site-packages\imageio\plugins\ffmpeg.py", line 666, in _append_data
raise IOError(msg)
OSError: [Errno 22] Invalid argument

FFMPEG COMMAND:
D:\Users\User\Desktop\yanderifier-master\miniconda\envs\yanderify\Library\bin\ffmpeg.exe -y -f rawvideo -vcodec rawvideo -s 256x256 -pix_fmt rgb24 -r 30.00 -i - -an -vcodec libx264 -pix_fmt yuv420p -crf 25 -v warning D:\Users\User\Desktop\yanderifier-master\yanderify\tmp.mp4

FFMPEG STDERR OUTPUT:

this is from the actual program

Started Yanderify 3.0.6-alpha-0
Warning: This is not a stable release and should not be treated as such.
Disclaimer: CPU mode on low-end computers or most laptops generally will cause the system to lock-up.
We are not liable if you freeze your PC by refusing to listen to this advice.
Written by dunnousername#8672.
heavily inspired by windy's efforts
New video input path: D:/Users/User/Desktop/yanderifier-master/sample/bakamitai.mp4
New image input path: C:/Users/Chromata/Downloads/WhatsApp Image 2020-08-12 at 19.06.03.jpeg
New video output path: D:/Users/User/Desktop/da de.mp4
starting...
Reloading checkpoints...
Finished reloading checkpoints
Loading sources...
Sources loaded

This section contains the details the devs need to fix this issue.
If you are reporting a bug, please include this entire section.
If you leave out any of it, there is a good chance the devs will not be able to help.
Error: received a OSError at stage "predict".
Message: "[Errno 22] Invalid argument

FFMPEG COMMAND:
D:\Users\User\Desktop\yanderifier-master\miniconda\envs\yanderify\Library\bin\ffmpeg.exe -y -f rawvideo -vcodec rawvideo -s 256x256 -pix_fmt rgb24 -r 30.00 -i - -an -vcodec libx264 -pix_fmt yuv420p -crf 25 -v warning D:\Users\User\Desktop\yanderifier-master\yanderify\tmp.mp4

FFMPEG STDERR OUTPUT:
"
Full traceback:
File "yanderify.py", line 224, in worker_thread
vid1.append_data(img_as_ubyte(resize(frame, size)))

File "D:\Users\User\Desktop\yanderifier-master\miniconda\envs\yanderify\lib\site-packages\imageio\core\format.py", line 492, in append_data
return self._append_data(im, total_meta)

File "D:\Users\User\Desktop\yanderifier-master\miniconda\envs\yanderify\lib\site-packages\imageio\plugins\ffmpeg.py", line 666, in _append_data
raise IOError(msg)

cpu=0 D:/Users/User/Desktop/yanderifier-master/sample/bakamitai.mp4 {C:/Users/Chromata/Downloads/WhatsApp Image 2020-08-12 at 19.06.03.jpeg} {D:/Users/User/Desktop/da de.mp4} This is the last line of the crash report section. =========================== yanderify crashed! some common problems: - you have an AMD card. AMD cards are not supported in GPU mode for technical reasons. However, you can run in CPU mode, albeit much lower. Please read the disclaimer at the top about CPUs! - you have an NVIDIA card, but there is either not enough VRAM or the card is too old. >=700-series cards with >=2GB dedicated VRAM should work fine - you have a working card, but there is not enough available VRAM to run the deepfake process. Browsers commonly cause VRAM issues. If you have any games open, try closing them. - one of the devs fucked up somewhere. if that is the case, make sure to submit the full crash report (you might have to scroll up!), otherwise we cannot help you!

intel core i3-6098p, gtx 1050 (2gb vram), 8gb of ram, anything else, just ask me

doesn't even load sources and then freezes

when i press go it says loading sources and then freezes and when i try to exit it says

usage: yanderify.exe [-h] --config CONFIG [--checkpoint CHECKPOINT]
                     [--source_image SOURCE_IMAGE]
                     [--driving_video DRIVING_VIDEO]
                     [--result_video RESULT_VIDEO] [--relative]
                     [--adapt_scale] [--find_best_frame]
                     [--best_frame BEST_FRAME] [--cpu]
yanderify.exe: error: the following arguments are required: --config

Won't stop thinking my little beard hair under my mouth is my mouth

So i've just got this tool up and runnning my Windows PC with a Nvidia GTX 1060 6GB graphics card, so i'm guessing it's not a performance related issue

Image Input
Input video
Video output

console output

If you are reading this, I'm not dead yet.
D:\yanderify\yanderify\cuda100\afy\afy\predictor_local.py:34: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  config = yaml.load(f)
D:\yanderify\yanderify\cuda100\lib\site-packages\torch\nn\functional.py:1332: UserWarning: nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.
  warnings.warn("nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.")
D:\yanderify\yanderify\cuda100\lib\site-packages\imageio\core\format.py:403: UserWarning: Could not read last frame of C:\Users\Svahmed\Pictures\Memes\dameOG.mp4.
  warn('Could not read last frame of %s.' % uri)

GUI output

Started Yanderify 2.0
Disclaimer: CPU mode on low-end computers or most laptops generally will cause the system to lock-up.
We are not liable if you freeze your PC by refusing to listen to this advice.
Written by dunnousername#86??__ƶ∬∬rundll32∟err⁉ro▚▒◑◑➽unexpe
heavily inspired by windy's efforts
New video input path: C:/Users/Svahmed/Pictures/Memes/dameOG.mp4
New image input path: C:/Users/Svahmed/Pictures/Memes/Takethree.jpg
New video output path: C:/Users/Svahmed/Pictures/Memes/newOGvideo.mp4
starting...
Loading sources...
Sources loaded
Set source image. Predicting...
Muxing audio streams into output file...

success!

Hair gets extended

The output video always has the hair extended, is this intentional and is there a way to skip the extended hair?

New Error

Error: received a RuntimeError at stage "predict".
Message: "storage has wrong size: expected 0 got 128"
Full traceback:
File "afy\yanderify.py", line 106, in worker_thread
predictor = PredictorLocal('afy/fomm/config/vox-256.yaml', 'afy/checkpoint.tar', relative=True, adapt_movement_scale=True, device=device)

File "E:\Downloads\yanderify\yanderify\cuda100\afy\afy\predictor_local.py", line 27, in init
self.fa = face_alignment.FaceAlignment(face_alignment.LandmarksType._2D, flip_input=True, device=self.device)

File "E:\Downloads\yanderify\yanderify\cuda100\lib\site-packages\face_alignment\api.py", line 78, in init
fan_weights = load_url(models_urls[network_name], map_location=lambda storage, loc: storage)

File "E:\Downloads\yanderify\yanderify\cuda100\lib\site-packages\torch\utils\model_zoo.py", line 67, in load_url
return torch.load(cached_file, map_location=map_location)

File "E:\Downloads\yanderify\yanderify\cuda100\lib\site-packages\torch\serialization.py", line 367, in load
return _load(f, map_location, pickle_module)

File "E:\Downloads\yanderify\yanderify\cuda100\lib\site-packages\torch\serialization.py", line 545, in _load
deserialized_objects[key]._set_from_file(f, offset, f_should_read_directly)

device=cuda This is the last line of the crash report section. ===========================

FYI I have a GTX 960 4GB

Won't start

Yanderify won't start when I double click the Start Yanderify shortcut.

My specs are a Ryzen 7 3800X and a GTX 1080 if that helps.

Here's a screen recording on OneDrive: https://1drv.ms/u/s!AqPX8RyglRZuqwzujiC8FzZqy6fO?e=5vf4XV

Sorry if I'm doing something wrong and just wasting your time, but I'm following a YouTube video...

Run error

I run directly and it crashes, and I can see this error message in debug mode

(cuda100) E:\changge\cuda100>.\python.exe afy\yanderify.py
If you are reading this, I'm not dead yet.
Traceback (most recent call last):
File "afy\yanderify.py", line 19, in
from afy.predictor_local import PredictorLocal
File "E:\changge\cuda100\afy\afy\predictor_local.py", line 9, in
from animate import normalize_kp
File "E:\changge\cuda100\afy\fomm\animate.py", line 8, in
from logger import Logger, Visualizer
File "E:\changge\cuda100\afy\fomm\logger.py", line 9, in
import matplotlib.pyplot as plt
File "E:\changge\cuda100\lib\site-packages\matplotlib\pyplot.py", line 115, in
_backend_mod, new_figure_manager, draw_if_interactive, show = pylab_setup()
File "E:\changge\cuda100\lib\site-packages\matplotlib\backends_init
.py", line 62, in pylab_setup
[backend_name], 0)
File "E:\changge\cuda100\lib\site-packages\matplotlib\backends\backend_qt5agg.py", line 15, in
from .backend_qt5 import (
File "E:\changge\cuda100\lib\site-packages\matplotlib\backends\backend_qt5.py", line 19, in
import matplotlib.backends.qt_editor.figureoptions as figureoptions
File "E:\changge\cuda100\lib\site-packages\matplotlib\backends\qt_editor\figureoptions.py", line 20, in
import matplotlib.backends.qt_editor.formlayout as formlayout
File "E:\changge\cuda100\lib\site-packages\matplotlib\backends\qt_editor\formlayout.py", line 54, in
from matplotlib.backends.qt_compat import QtGui, QtWidgets, QtCore
File "E:\changge\cuda100\lib\site-packages\matplotlib\backends\qt_compat.py", line 140, in
from PyQt5 import QtCore, QtGui, QtWidgets
ImportError: DLL load failed: The specified program could not be found.
Please press any key to continue. . .

Ordinal 242 error

Just installed 3.0.0 stable, when I try to launch it, it pops up as a python error.

Demo module v3.04

i got this error on version v3.04 i also tried v3.01 but still get this error
File "C:\Users\ASUS\Desktop\yanderifier-master\yanderify\yanderify.py", line 47, in
from demo import *
ModuleNotFoundError: No module named 'demo'

how can i fix this?

'NoneType' object has no attribute 'write'

This section contains the details the devs need to fix this issue.
If you are reporting a bug, please include this entire section.
If you leave out any of it, there is a good chance the devs will not be able to help.
Error: received a AttributeError at stage "predict".
Message: "'NoneType' object has no attribute 'write'"
Full traceback:
File "afy\yanderify.py", line 106, in worker_thread
predictor = PredictorLocal('afy/fomm/config/vox-256.yaml', 'afy/checkpoint.tar', relative=True, adapt_movement_scale=True, device=device)

File "C:\Users\arceus\Downloads\cuda100\afy\afy\predictor_local.py", line 27, in init
self.fa = face_alignment.FaceAlignment(face_alignment.LandmarksType._2D, flip_input=True, device=self.device)

File "C:\Users\arceus\Downloads\cuda100\lib\site-packages\face_alignment\api.py", line 69, in init
self.face_detector = face_detector_module.FaceDetector(device=device, verbose=verbose)

File "C:\Users\arceus\Downloads\cuda100\lib\site-packages\face_alignment\detection\sfd\sfd_detector.py", line 22, in init
model_weights = load_url(models_urls['s3fd'])

File "C:\Users\arceus\Downloads\cuda100\lib\site-packages\torch\utils\model_zoo.py", line 64, in load_url
sys.stderr.write('Downloading: "{}" to {}\n'.format(url, cached_file))

device=cuda This is the last line of the crash report section.

IndexError: Reached end of video

I have yanderify 3.0, every time I try to make a deepfake everything seems to be going fine, I click "Go", I wait for a while and then it gives me a crash message saying "IndexError: Reached end of video"
image
image

Failed to open file

Error: received a OSError at stage "predict".

Message: "Failed to open file b'C:\Users\\xe5\xb0\xb9\xe9\xb8\xbf\xe9\xa3\x9e\AppData\Local\Temp\scipy-kq5js8fo'"

Full traceback:
File "yanderify.py", line 229, in worker_thread

File "yanderify.py", line 191, in make_animation_batch

File "yanderify.py", line 172, in make_animation_batch_

File "animate.py", line 19, in normalize_kp

File "qhull.pyx", line 2335, in scipy.spatial.qhull.ConvexHull.init

File "qhull.pyx", line 266, in scipy.spatial.qhull._Qhull.init

File "messagestream.pyx", line 36, in scipy._lib.messagestream.MessageStream.init

cpu=1 G:/244354398/1/video.mp4 D:/Desktop/psc.jpg D:/Desktop/aaa.mp4

errno22?

I am using yanderifier 3.0.5 and I got this crash report:

This section contains the details the devs need to fix this issue.
If you are reporting a bug, please include this entire section.
If you leave out any of it, there is a good chance the devs will not be able to help.
Error: received a OSError at stage "predict".
Message: "[Errno 22] Invalid argument

FFMPEG COMMAND:
H:\AAAAAAAAAsteem\yanderifier-master\miniconda\envs\yanderify\Library\bin\ffmpeg.exe -y -f rawvideo -vcodec rawvideo -s 1920x1920 -pix_fmt rgb24 -r 25.00 -i - -an -vcodec libx264 -pix_fmt yuv420p -crf 25 -v warning H:\AAAAAAAAAsteem\yanderifier-master\yanderify\tmp.mp4

FFMPEG STDERR OUTPUT:
"
Full traceback:
File "yanderify.py", line 221, in worker_thread
vid1.append_data(img_as_ubyte(resize(frame, size)))

File "H:\AAAAAAAAAsteem\yanderifier-master\miniconda\envs\yanderify\lib\site-packages\imageio\core\format.py", line 492, in append_data
return self._append_data(im, total_meta)

File "H:\AAAAAAAAAsteem\yanderifier-master\miniconda\envs\yanderify\lib\site-packages\imageio\plugins\ffmpeg.py", line 666, in _append_data
raise IOError(msg)

cpu=0 {H:/AAAAAAAAAsteem/yanderifier-master/video/dame da ne.mp4} H:/AAAAAAAAAsteem/yanderifier-master/image/sddefault.jpg {H:/AAAAAAAAAsteem/yanderifier-master/output/linus dame.mp4} This is the last line of the crash report section.

I don't know what to do, please help

ffmpeg keeps crashing no matter what I do

Whenever I do a deepfake the FFmpeg crashes, but my file still works. Like it never adds the audio.

idk if this helps
command "ffmpeg.exe -y -i tmp.mp4 -i 'D:/PERSONAL/Yanderify/YandereDev orders foot lettuce from Burger King with his Reddit karma.mp4' -map 0:v -map 1:a -movflags faststart D:/PERSONAL/Yanderify/output/ununumber14.mp4" returned non-zero error code 1: b"ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers\r\n built with gcc 6.3.0 (GCC)\r\n configuration: --enable-gpl --enable-version3 --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib\r\n libavutil 55. 34.101 / 55. 34.101\r\n libavcodec 57. 64.101 / 57. 64.101\r\n libavformat 57. 56.101 / 57. 56.101\r\n libavdevice 57. 1.100 / 57. 1.100\r\n libavfilter 6. 65.100 / 6. 65.100\r\n libswscale 4. 2.100 / 4. 2.100\r\n libswresample 2. 3.100 / 2. 3.100\r\n libpostproc 54. 1.100 / 54. 1.100\r\nInput #0, mov,mp4,m4a,3gp,3g2,mj2, from 'tmp.mp4':\r\n Metadata:\r\n major_brand : isom\r\n minor_version : 512\r\n compatible_brands: isomiso2avc1mp41\r\n encoder : Lavf57.56.101\r\n Duration: 00:00:17.17, start: 0.000000, bitrate: 469 kb/s\r\n Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 656x864, 466 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)\r\n Metadata:\r\n handler_name : VideoHandler\r\n'D:/PERSONAL/Yanderify/YandereDev: Invalid argument\r\n"

Super Pixelated

I am using the latest version for me (v4.0.2 stable) and every video I make is looks really compressed and pixelated. Is have not messed with settings or anything, I am just selecting a source video, image, and an output and clicking Go. Am I doing something wrong or is this a bug?

Yanderify Crashed!

Was trying to use 3.0.5 and it came up with this error:
Yanderify Crashed!
This section contains the details the devs need to fix this issue.
If you are reporting a bug, please include this entire section.
If you leave out any of it, there is a good chance the devs will not be able to help.
Error: received a OSError at stage "predict".
Message: "[Errno 22] Invalid argument

FFMPEG COMMAND:
D:\yanderifier-master\miniconda\envs\yanderify\Library\bin\ffmpeg.exe -y -f rawvideo -vcodec rawvideo -s 2576x1936 -pix_fmt rgb24 -r 29.97 -i - -an -vcodec libx264 -pix_fmt yuv420p -crf 25 -v warning D:\yanderifier-master\yanderify\tmp.mp4

FFMPEG STDERR OUTPUT:
"
Full traceback:
File "yanderify.py", line 221, in worker_thread
vid1.append_data(img_as_ubyte(resize(frame, size)))

File "D:\yanderifier-master\miniconda\envs\yanderify\lib\site-packages\imageio\core\format.py", line 492, in append_data
return self._append_data(im, total_meta)

File "D:\yanderifier-master\miniconda\envs\yanderify\lib\site-packages\imageio\plugins\ffmpeg.py", line 666, in _append_data
raise IOError(msg)

cpu=0 {C:/Users/jayde/Pictures/Video Projects/dame da ne source.mp4} {C:/Users/jayde/Pictures/lachlan the cringe lord yasuo.jpg} {D:/Deepfakes/lachlan baka mitai.mp4}

Any Idea on how to fix this?

conda environment error (debug)

Could not find conda environment: yanderify
You can list all discoverable environments with conda info --envs.

(base) C:\Users\amyga\OneDrive\Desktop\deepfake\yanderifier-4.0.0a2\yanderify>python yanderify.py debug
Loading...
If you are reading this, I'm not dead yet.
I didn't want it to end this way.
Traceback (most recent call last):
File "yanderify.py", line 41, in
import torch
ModuleNotFoundError: No module named 'torch'

i was able to fix other errors by installing other python packages, but trying to install torch results in errors.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.