Sorting Tool Not Working

The Extraction process failing on you, and you aren't getting an error back with clear instructions? Tell us about it here


Forum rules

Read the FAQs and search the forum before posting a new topic.

This forum is for reporting errors with the Extraction process. If you want to get tips, or better understand the Extract process, then you should look in the Extract Discussion forum.

Please mark any answers that fixed your problems so others can find the solutions.

Locked
User avatar
anonswapper
Posts: 1
Joined: Mon Aug 26, 2019 2:42 am

Sorting Tool Not Working

Post by anonswapper »

Hi,

Extracted faces, now trying to use the sort tool, and I keep encountering the following error:

Loading...
Setting Faceswap backend to NVIDIA
Please backup your data and/or test the tool you want to use with a smaller data set to make sure you understand how it works.
08/24/2019 12:20:11 INFO Log level set to: INFO
08/24/2019 12:20:15 ERROR Got Exception on main handler:
Traceback (most recent call last):
File "F:\Face Swap\faceswap\lib\cli.py", line 125, in execute_script
process.process()
File "F:\Face Swap\faceswap\tools\sort.py", line 46, in process
if self.args.output_dir.lower() == "_output_dir":
AttributeError: 'NoneType' object has no attribute 'lower'
08/24/2019 12:20:15 CRITICAL An unexpected crash has occurred. Crash report written to 'F:\Face Swap\faceswap\crash_report.2019.08.24.122015905042.log'. Please verify you are running the latest version of faceswap before reporting
Process exited.

I've included the crash log below... the forum wouldn't let me attach it, apologies for the copy/paste.

******************Crash Log**********************************

08/24/2019 12:20:11 MainProcess MainThread logger log_setup INFO Log level set to: INFO
08/24/2019 12:20:11 MainProcess MainThread cli execute_script DEBUG Executing: sort. PID: 34716
08/24/2019 12:20:13 MainProcess MainThread cli test_for_tf_version DEBUG Installed Tensorflow Version: 1.14
Traceback (most recent call last):
File "F:\Face Swap\faceswap\lib\cli.py", line 125, in execute_script
process.process()
File "F:\Face Swap\faceswap\tools\sort.py", line 46, in process
if self.args.output_dir.lower() == "_output_dir":
AttributeError: 'NoneType' object has no attribute 'lower'

============ System Information ============
encoding: cp1252
git_branch: master
git_commits: 0b3d70e GUI Control Handler change
gpu_cuda: No global version found. Check Conda packages for Conda Cuda
gpu_cudnn: No global version found. Check Conda packages for Conda cuDNN
gpu_devices: GPU_0: GeForce GTX 560
gpu_devices_active: GPU_0
gpu_driver: 388.13
gpu_vram: GPU_0: 2048MB
os_machine: AMD64
os_platform: Windows-10-10.0.17134-SP0
os_release: 10
py_command: F:\Face Swap\faceswap\tools.py sort -i F:/Face Swap/Project 1/Mask Frames -s face -t -1.0 -fp rename -g hist -b 5 -be CPU -lf sort_log.json -L INFO -gui
py_conda_version: conda 4.7.11
py_implementation: CPython
py_version: 3.6.9
py_virtual_env: True
sys_cores: 8
sys_processor: Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
sys_ram: Total: 16358MB, Available: 10591MB, Used: 5766MB, Free: 10591MB

=============== Pip Packages ===============
absl-py==0.7.1
astor==0.8.0
certifi==2019.6.16
cloudpickle==1.2.1
cycler==0.10.0
cytoolz==0.10.0
dask==2.3.0
decorator==4.4.0
fastcluster==1.1.25
ffmpy==0.2.2
gast==0.2.2

User avatar
kilroythethird
Posts: 20
Joined: Fri Jul 12, 2019 11:35 pm
Answers: 1
Has thanked: 2 times
Been thanked: 10 times

Re: Sorting Tool Not Working

Post by kilroythethird »

Thanks for the report.
There is a bug when not providing the output directory.
For now please provide an output directory and it should work.

that amd guy

Locked