Open bsisic opened 4 years ago
Same deal. I've attached my log file as well. crash_report.2019.12.14.132632110976.log
If anyone is able to provide a source that this occurs for, then it will help with diagnosing.
that was about a miss configuration for me
solved with a new virtualenv faceswap_env/
😞
@bsisic hi, im facing the same issue. can you please elaborate on what the missed configuration was.
TIA!
@AbysmalBiscuit
I have the same problem too.
Mac sys.
Python 3.7.4
And I run in a virtual environment tool by using pip3.
My solution way is try for the absolute directory. And it does works well ! May be you should try for ab dir rather than relatively dir. Good luck.
As I said before, I cannot diagnose this bug without a source video that fails. If anyone can provide a video that causes this failure I can look into it
Hi guys,
I was able to fix the issue by changing the detector to 'cv2-dnn'.
command that works for me: python3.7 faceswap.py extract -D cv2-dnn -i input_folder -o output_folder
@torzdf next time i encounter this bug, i will make sure to create a video and share it with you.
Thanks!
Ok, I have been provided with a video, but cannot recreate this bug....
My next request is for a full TRACE log.
If you encounter this issue, then please set loglevel to TRACE and provide the full trace report. Note that the process will run slower and the log is likely to be huge.
I have same problem too.
Environment
Already test with these setting but still not working
https://mega.nz/#!jRs3HDhS!wT2h-TTUS02XsXswhnRSe5qZoikz4T1-GuIsqnbWbK8
@torzdf 考虑阿里人脸识别机会的话,邮件baigui.sbg@alibaba-inc.com,我是直接用人主管。
Change the detector from S3Fd to cv2-dnn and it passes. S3Fd for some reason is not working.
File "D:\develop\Anaconda3\envs\faceswap\lib\site-packages\keras\engine\base_layer.py", line 285, in assert_input_compatibility str(inputs) + '. All inputs to the layer ' ValueError: Layer LAYER_44 was called with an input that isn't a symbolic tensor. Received type: <class 'theano.tensor.var.TensorConstant'>. Full input: [Elemwise{mul,no_inplace}.0, TensorConstant{2.0}]. All inputs to the layer should be tensors. crash_report.2020.05.07.190935881586.log
S3Fd for some reason is not working. +1
No matter what video is used, it is the same error👇
OverflowError: cannot convert float infinity to integer
Traceback (most recent call last):
File "D:\faceswap\lib\cli\launcher.py", line 182, in execute_script
process.process()
File "D:\faceswap\scripts\extract.py", line 119, in process
self._run_extraction()
File "D:\faceswap\scripts\extract.py", line 216, in _run_extraction
for idx, extract_media in enumerate(status_bar):
File "C:\Users\LWRF4\anaconda3\envs\faceswap\lib\site-packages\tqdm\std.py", line 1185, in iter
for obj in iterable:
File "D:\faceswap\plugins\extract\pipeline.py", line 239, in detected_faces
if self._check_and_raise_error():
File "D:\faceswap\plugins\extract\pipeline.py", line 662, in _check_and_raise_error
if plugin.check_and_raise_error():
File "D:\faceswap\plugins\extract_base.py", line 347, in check_and_raise_error
err = thread.check_and_raise_error()
File "D:\faceswap\lib\multithreading.py", line 84, in check_and_raise_error
raise error[1].with_traceback(error[2])
File "D:\faceswap\lib\multithreading.py", line 37, in run
self._target(*self._args, **self._kwargs)
File "D:\faceswap\plugins\extract_base.py", line 480, in _thread_process
for item in self.finalize(batch):
File "D:\faceswap\plugins\extract\detect_base.py", line 160, in finalize
batch_faces = [[self.to_detected_face(face[0], face[1], face[2], face[3])
File "D:\faceswap\plugins\extract\detect_base.py", line 160, in
Got this crash report file when I run
faceswap.py extract
Crash Report File
last line :
-> OverflowError: cannot convert float infinity to integer