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

TypeError: unsupported operand type(s) for *: 'NoneType' and 'float' #19

Open
QiYueColdRain opened this issue Oct 17, 2023 · 0 comments

Comments

@QiYueColdRain
Copy link

Choose one GPU idx.

[CPU] : CPU
[0] : Tesla P40
[1] : Tesla P40
[2] : Tesla P40
[3] : Tesla P40
[4] : Tesla P40
[5] : Tesla P40
[6] : Tesla P40

[2] Which GPU index to choose? : 2

[wf] Face type ( f/wf/head ?:help ) :
wf
[0] Max number of faces from image ( ?:help ) :
0
[512] Image size ( 256-2048 ?:help ) :
512
[90] Jpeg quality ( 1-100 ?:help ) :
90
[n] Write debug images to aligned_debug? ( y/n ) :
n
Performing manual extract...
Running on Tesla P40
0%| | 0/655 [00:00<?, ?it/s]Traceback (most recent call last):
File "/usr/local/deepfacelab/main.py", line 345, in
arguments.func(arguments)
File "/usr/local/deepfacelab/main.py", line 33, in process_extract
Extractor.main( detector = arguments.detector,
File "/usr/local/deepfacelab/mainscripts/Extractor.py", line 812, in main
data = ExtractSubprocessor ([ ExtractSubprocessor.Data(Path(filename)) for filename in input_image_paths ], 'landmarks-manual', image_size, jpeg_quality, face_type, output_debug_path if output_debug else None, manual_window_size=manual_window_size, device_config=device_config).run()
File "/usr/local/deepfacelab/core/joblib/SubprocessorBase.py", line 224, in run
self.on_result (cli.host_dict, obj['data'], obj['result'])
File "/usr/local/deepfacelab/mainscripts/Extractor.py", line 638, in on_result
self.redraw()
File "/usr/local/deepfacelab/mainscripts/Extractor.py", line 605, in redraw
view_landmarks = (np.array(self.landmarks) * self.view_scale).astype(np.int).tolist()
TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'

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

1 participant