Closed PisChiao closed 5 years ago
Unserializable message: Traceback (most recent call last): File "C:\Users\nope\Anaconda3\envs\face\lib\multiprocessing\managers.py", line 276, in serve_client send(msg) File "C:\Users\nope\Anaconda3\envs\face\lib\multiprocessing\connection.py", line 206, in send self._send_bytes(ForkingPickler.dumps(obj)) File "C:\Users\nope\Anaconda3\envs\face\lib\multiprocessing\reduction.py", line 50, in dumps cls(buf, protocol).dump(obj) MemoryError
============ System Information ============ git_branch: master git_commits: 4376bbf Alignments tool: Filename clash bugfix. 20cb538 Merge branch 'master' into staging. af3acaa Alignments tool: Allow empty folder/non existant folder for extract. 8f5bbef Merge branch 'master' into staging. f761a31 Extract - bugfix: Skip non-loaded image gpu_cuda: 9.0 gpu_cudnn: 7.2.1 gpu_devices: GPU_0: GeForce GTX 1080 Ti gpu_driver: 417.35 gpu_vram: GPU_0: 11264MB os_machine: AMD64 os_platform: Windows-10-10.0.17763-SP0 os_release: 10 py_command: C:\Users\nope\df\faceswap\faceswap.py extract -i D:/deep_temp/kayden/kayden -o D:/deep_temp/kayden/face2 -l 0.7 --serializer yaml -D mtcnn -A fan -mtms 20 -mtth 0.7 0.7 0.8 -mtsc 0.709 -bt 15 -sz 256 -s -sf -si 500 -L VERBOSE -LF D:/deep_temp/kayden/log.txt py_conda_version: conda 4.5.12 py_implementation: CPython py_version: 3.5.6 py_virtual_env: False sys_cores: 12 sys_processor: Intel64 Family 6 Model 85 Stepping 4, GenuineIntel sys_ram: Total: 32643MB, Available: 1161MB, Used: 31481MB, Free: 1161MB
=============== Pip Packages =============== absl-py==0.7.0 astor==0.7.1 certifi==2018.8.24 Click==7.0 cloudpickle==0.6.1 cmake==3.13.2.post1 cycler==0.10.0 dask==1.0.0 decorator==4.3.0 dlib==19.16.0 face-recognition==1.2.3 face-recognition-models==0.3.0 ffmpy==0.2.2 gast==0.2.2 grpcio==1.18.0 h5py==2.8.0 Keras==2.2.4 Keras-Applications==1.0.6 keras-contrib==2.0.8 Keras-Preprocessing==1.0.5 kiwisolver==1.0.1 Markdown==3.0.1 matplotlib==2.2.2 mkl-fft==1.0.6 mkl-random==1.0.1 networkx==2.2 numpy==1.16.0 nvidia-ml-py3==7.352.0 opencv-python==3.4.4.19 pathlib==1.0.1 Pillow==5.3.0 protobuf==3.6.1 psutil==5.4.8 pyparsing==2.3.0 python-dateutil==2.7.5 pytz==2018.7 PyWavelets==1.0.1 PyYAML==3.13 scandir==1.7 scikit-image==0.14.1 scikit-learn==0.20.2 scipy==1.2.0 six==1.12.0 tensorboard==1.9.0 tensorflow-gpu==1.9.0 termcolor==1.1.0 toolz==0.9.0 tqdm==4.28.1 Werkzeug==0.14.1 wincertstore==0.2
============== Conda Packages ==============
#
absl-py 0.6.1
certifi 2018.8.24 py35_1001 conda-forge
Click 7.0
icc_rt 2019.0.0 h0cc432a_1
intel-openmp 2019.1 144
jpeg 9b hb83a4c4_2
Keras 2.2.4
libpng 1.6.36 h2a8f88b_0
libtiff 4.0.9 h36446d0_2
Markdown 3.0.1
mkl_fft 1.0.6 py35hdbbee80_0
mkl_random 1.0.1 py35h77b88f5_1
networkx 2.2
numpy-base 1.15.2 py35h8128ebf_0
nvidia-ml-py3 7.352.0
opencv-python 3.4.4.19
pyparsing 2.3.0
python-dateutil 2.7.5
six 1.12.0
toolz 0.9.0
wincertstore 0.2 py35hfebbdb8_0
zlib 1.2.11 h62dcd97_3
I have seen 3 reports of this now. It looks like some kind of memory leak on extract and seems to be Windows specific, and I haven't been able to replicate.
I will investigate. In the meantime, could you confirm that: 1) You are using the GUI 2) If you are using the GUI, could you hit "Generate" rather than "Extract", copy the generated command and close the GUI. Paste the command into the Anaconda cmd prompt and run there. Then confirm whether you still get the memory issue, or if it runs ok.
I have now confirmed that this does not happen just in the GUI.
If someone could could let me know what image sized they are feeding into the extractor, that would also help narrow down the issue
This issue is fixed.
There is a bug in numpy version 1.16.0. Downgrade numpy to 1.15.2 and your problems will disappear.
requirements.txt being edited.
thank you.. I saw the note in discord and I will try today
I got a MemoryError when i running Extract.Here is the log