Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got invalid syntax. #2

Closed
kartikchauhan opened this issue Apr 25, 2018 · 0 comments
Closed

Got invalid syntax. #2

kartikchauhan opened this issue Apr 25, 2018 · 0 comments

Comments

@kartikchauhan
Copy link

Got this error when I ran the command python faceit.py convert fallon_to_oliver fallon_emmastone.mp4 --start 40 --duration 55 --side-by-side

2018-04-26 00:01:22.499696: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
Loading Model from Model_Original plugin...
Traceback (most recent call last):
File "faceit.py", line 369, in
faceit.convert(args.video, duration = args.duration, swap_model = args.swap_model, face_filter = args.face_filter, start_time = args.start_time, photos = args.photos, crop_x = args.crop_x, width = args.width, side_by_side = args.side_by_side)
File "faceit.py", line 212, in convert
model = PluginLoader.get_model(model_name)(Path(self._model_path(use_gan)))
File "faceswap/plugins/PluginLoader.py", line 13, in get_model
return PluginLoader.import("Model", "Model{0}".format(name))
File "faceswap/plugins/PluginLoader.py", line 22, in _import
module = import(name, globals(), locals(), [], 1)
File "faceswap/plugins/Model_Original.py", line 9, in
from lib.ModelAE import ModelAE, TrainerAE
File "faceswap/lib/ModelAE.py", line 64
end='\r')
^
SyntaxError: invalid syntax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant