Closed dadede999 closed 7 months ago
python3 -u tools/first-order-demo.py --driving_video ../docs/imgs/fom_dv.mp4 --source_image ../docs/imgs/fom_source_image.png --ratio 0.4 --relative --adapt_scale --image_size 512 --face_enhancement --multi_person /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/depends.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp Traceback (most recent call last): File "tools/first-order-demo.py", line 115, in predictor = FirstOrderPredictor(output=args.output, TypeError: init() got an unexpected keyword argument 'slice_size'
我也遇到了这个问题,请问解决了吗
我切换到2.0版本就可以了git checkout release/2.0
python3 -u tools/first-order-demo.py \ --driving_video ../docs/imgs/fom_dv.mp4 \ --source_image ../docs/imgs/fom_source_image.png \ --ratio 0.4 \ --relative \ --adapt_scale \ --image_size 512 \ --face_enhancement \ --multi_person /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/depends.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp Traceback (most recent call last): File "tools/first-order-demo.py", line 115, in
predictor = FirstOrderPredictor(output=args.output,
TypeError: init() got an unexpected keyword argument 'slice_size'