Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

train Quick96 does not work? #5249

Closed
Boki420 opened this issue Jan 19, 2021 · 5 comments
Closed

train Quick96 does not work? #5249

Boki420 opened this issue Jan 19, 2021 · 5 comments

Comments

@Boki420
Copy link

Boki420 commented Jan 19, 2021

Extracting images and facesets worked correctly. So I'm wondering what is the issue with the training part...

Actual behavior

ERROR CODE:
`Running trainer.

[new] No saved models found. Enter a name of a new model :
new

Model first run.

Choose one or several GPU idxs (separated by comma).

[CPU] : CPU
[0] : GeForce RTX 3060 Ti

[0] Which GPU indexes to choose? :
0

Initializing models: 100%|####################################################################################################################################################################################| 5/5 [00:02<00:00, 1.84it/s]
Loading samples: 100%|#################################################################################################################################################################################| 1511/1511 [00:03<00:00, 503.15it/s]
Traceback (most recent call last):
File "", line 1, in
File "multiprocessing\spawn.py", line 105, in spawn_main
File "multiprocessing\spawn.py", line 115, in main
File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib_init
.py", line 1, in
Traceback (most recent call last):
File "", line 1, in
from .Sample import Sample
File "multiprocessing\spawn.py", line 105, in spawn_main
File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\Sample.py", line 7, in
File "multiprocessing\spawn.py", line 115, in main
from core.cv2ex import *
File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\core\cv2ex.py", line 5, in
File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib_init
.py", line 1, in
from core import imagelib
File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\core\imagelib_init_.py", line 9, in
from .Sample import Sample
Traceback (most recent call last):
File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\Sample.py", line 7, in
File "", line 1, in
from core.cv2ex import *
File "multiprocessing\spawn.py", line 105, in spawn_main
File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\core\cv2ex.py", line 5, in
from .morph import morph_by_points
File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\core\imagelib\morph.py", line 3, in
File "multiprocessing\spawn.py", line 115, in main
from core import imagelib
File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\core\imagelib_init
.py", line 9, in
from scipy.spatial import Delaunay File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib_init_.py", line 1, in

File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\python-3.6.8\lib\site-packages\scipy\spatial_init_.py", line 107, in
from .morph import morph_by_points
File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\core\imagelib\morph.py", line 3, in
from .Sample import Sample
File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\Sample.py", line 4, in
import cv2
from scipy.spatial import Delaunay File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\python-3.6.8\lib\site-packages\cv2_init_.py", line 3, in

File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\python-3.6.8\lib\site-packages\scipy\spatial_init_.py", line 107, in
ImportError: numpy.core.multiarray failed to import
from . import distance, transform
Traceback (most recent call last):
File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\python-3.6.8\lib\site-packages\scipy\spatial\distance.py", line 125, in
File "", line 1, in
from .cv2 import *
ImportError: DLL load failed: The paging file is too small for this operation to complete.
File "multiprocessing\spawn.py", line 105, in spawn_main
from . import distance, transform File "multiprocessing\spawn.py", line 115, in main
from ..special import rel_entr
File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\python-3.6.8\lib\site-packages\scipy\special_init
.py", line 637, in
File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib_init_.py", line 1, in

ImportError: numpy.core.multiarray failed to import
from .Sample import Sample
File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\python-3.6.8\lib\site-packages\scipy\spatial\distance.py", line 125, in
Traceback (most recent call last):
File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\Sample.py", line 4, in
File "", line 1, in
ImportError: numpy.core.multiarray failed to import
from . import _basic import cv2
from ..special import rel_entr File "multiprocessing\spawn.py", line 105, in spawn_main
Traceback (most recent call last):

File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\python-3.6.8\lib\site-packages\cv2_init_.py", line 3, in

File "multiprocessing\spawn.py", line 115, in main
File "", line 1, in
File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\python-3.6.8\lib\site-packages\scipy\special_basic.py", line 18, in
from .cv2 import *
File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\python-3.6.8\lib\site-packages\scipy\special_init
.py", line 637, in
File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib_init_.py", line 1, in
File "multiprocessing\spawn.py", line 105, in spawn_main
ImportError: numpy.core.multiarray failed to import
from .Sample import Sample
File "multiprocessing\spawn.py", line 115, in _main
from . import specfun File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\Sample.py", line 4, in
from . import basic File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib_init.py", line 1, in

import cv2

from .Sample import Sample

ImportErrorTraceback (most recent call last):
File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\python-3.6.8\lib\site-packages\cv2_init_.py", line 3, in
File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\python-3.6.8\lib\site-packages\scipy\special_basic.py", line 18, in
File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\DeepFaceLab\samplelib\Sample.py", line 4, in
: File "", line 1, in
from .cv2 import *
import cv2
DLL load failed: The paging file is too small for this operation to complete. File "multiprocessing\spawn.py", line 105, in spawn_main
ImportError: numpy.core.multiarray failed to import
from . import specfun File "D:\BitTorrent\DeepFaceLab\DeepFaceLab_NVIDIA_internal\python-3.6.8\lib\site-packages\cv2_init_.py", line 3, in

File "multiprocessing\spawn.py", line 115, in _main

from .cv2 import *

File "multiprocessing\heap.py", line 55, in setstate
ImportErrorImportError: numpy.core.multiarray failed to import
OSError: : DLL load failed: The paging file is too small for this operation to complete.[WinError 1455] The paging file is too small for this operation to complete
`

Steps to reproduce

I tried to see if different videos would behave differently, unfortunately no change.

Other relevant information

-Windows 10 Home OS 64-bit
-GPU: Nvidia GeForce RTX 3060 Ti
-CPU: AMD Ryzen 5 5600X 6core

@NvrTdp
Copy link

NvrTdp commented Jan 20, 2021

"The paging file is too small for this operation to complete.[WinError 1455] The paging file is too small for this operation to complete." Search up how to manually increase virtual memory.

@Boki420
Copy link
Author

Boki420 commented Jan 20, 2021

"The paging file is too small for this operation to complete.[WinError 1455] The paging file is too small for this operation to complete." Search up how to manually increase virtual memory.

12

Still think virtual memory is the problem?

@NvrTdp
Copy link

NvrTdp commented Jan 20, 2021

No idea. You have to juice it up and check. If you have more space on the other drives I would try to move dfl folder.

@Boki420
Copy link
Author

Boki420 commented Jan 23, 2021

No idea. You have to juice it up and check. If you have more space on the other drives I would try to move dfl folder.

It worked!

@Boki420 Boki420 closed this as completed Jan 23, 2021
@pzy2000
Copy link

pzy2000 commented Sep 18, 2023

I set maximum size of virtual memory to 20480GB and it worked!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants