python demo.py --config config/a.yaml --checkpoint c
heckpoint/00000500-checkpoint.pth.tar --source_image photo/a.jpg --driving_video driving_video/a.mp4
demo.py:28: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
config = yaml.load(f)
/apply/anaconda3/envs/One-Shot_Free-View_Neural_Talking_Head_Synthesis/lib/python3.6/site-packages/torch/functional.py:445: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:2157.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
demo.py:290: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
config = yaml.load(f)
estimate jacobian: False
demo.py:75: UserWarning: Implicit dimension choice for softmax has been deprecated. Change the call to include dim=X as an argument.
pred = F.softmax(pred)
0%| | 0/986 [00:00<?, ?it/s]/apply/anaconda3/envs/One-Shot_Free-View_Neural_Talking_Head_Synthesis/lib/python3.6/site-packages/torch/nn/functional.py:4004: UserWarning: Default grid_sample and affine_grid behavior has changed to align_corners=False since 1.3.0. Please specify align_corners=True if the old behavior is desired. See the documentation of grid_sample for details.
"Default grid_sample and affine_grid behavior has changed "
/apply/anaconda3/envs/One-Shot_Free-View_Neural_Talking_Head_Synthesis/lib/python3.6/site-packages/torch/nn/functional.py:1806: UserWarning: nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.
warnings.warn("nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.")
100%|█████████████████████████████████| 986/986 [02:06<00:00, 7.81it/s]
Traceback (most recent call last):
File "demo.py", line 304, in
imageio.mimsave(opt.result_video, [img_as_ubyte(frame) for frame in predictions], fps=fps)
File "/apply/anaconda3/envs/One-Shot_Free-View_Neural_Talking_Head_Synthesis/lib/python3.6/site-packages/imageio/core/functions.py", line 283, in mimwrite
with imopen(uri, "wI", plugin=format) as file:
File "/apply/anaconda3/envs/One-Shot_Free-View_Neural_Talking_Head_Synthesis/lib/python3.6/site-packages/imageio/core/imopen.py", line 223, in imopen
raise err_type(err_msg)
ValueError: ImageIO does not generally support reading folders. Limited support may be available via specific plugins. Specify the plugin explicitly using the plugin
kwarg, e.g. plugin='DICOM'