You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running faceit.py convert throws error if ImageMagick is not installed. moviepy states that ImageMagick is required for writing text, and more specifically is required for TextClip. Suggest updating requirements.txt or making text optional.
(tensorflow_p36) ubuntu@instance-1:~/GAN/faceit$ python3.6 faceit.py convert stark_to_hulk stark_suitup.mp4 --start 40 --duration 55 --side-by-side --use-gan --face-filter --width 800
Using TensorFlow backend.
Loading Model from Model_GAN plugin...
Discriminator models loaded.
Generator models loaded.
Loading Convert from Convert_GAN plugin...
Traceback (most recent call last):
File "/home/ubuntu/miniconda3/envs/tensorflow_p36/lib/python3.6/site-packages/moviepy/video/VideoClip.py", line 1164, in __init__
subprocess_call(cmd, verbose=False)
File "/home/ubuntu/miniconda3/envs/tensorflow_p36/lib/python3.6/site-packages/moviepy/tools.py", line 42, in subprocess_call
proc = sp.Popen(cmd, **popen_params)
File "/home/ubuntu/miniconda3/envs/tensorflow_p36/lib/python3.6/subprocess.py", line 709, in __init__
restore_signals, start_new_session)
File "/home/ubuntu/miniconda3/envs/tensorflow_p36/lib/python3.6/subprocess.py", line 1344, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'unset': 'unset'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "faceit.py", line 365, in <module>
faceit.convert(args.video, duration = args.duration, swap_model = args.swap_model, face_filter = args.face_filter, start_time = args.start_time, use_gan = args.use_gan, photos = args.photos, crop_x = args.crop_x, width = args.width, side_by_side = args.side_by_side)
File "faceit.py", line 274, in convert
video = add_caption("Original", video)
File "faceit.py", line 269, in add_caption
text = (TextClip(caption, font='Amiri-regular', color='white', fontsize=80).
File "/home/ubuntu/miniconda3/envs/tensorflow_p36/lib/python3.6/site-packages/moviepy/video/VideoClip.py", line 1173, in __init__
raise IOError(error)
OSError: MoviePy Error: creation of None failed because of the following error:
[Errno 2] No such file or directory: 'unset': 'unset'.
.This error can be due to the fact that ImageMagick is not installed on your computer, or (for Windows users) that you didn't specify the path to the ImageMagick binary in file conf.py, or that the path you specified is incorrect
The text was updated successfully, but these errors were encountered:
Running
faceit.py convert
throws error if ImageMagick is not installed.moviepy
states that ImageMagick is required for writing text, and more specifically is required forTextClip
. Suggest updatingrequirements.txt
or making text optional.The text was updated successfully, but these errors were encountered: