Skip to content

missing config/vox-256.yaml #7

@johndpope

Description

@johndpope

bash run_demo.sh --source_image DEMO/demo_img_3.jpg --driving_video DEMO/demo_video_1.mp4
/media/oem/12TB/AdaSR-TalkingHead/demo.py:281: DeprecationWarning: Starting with ImageIO v3 the behavior of this function will switch to that of iio.v3.imread. To keep the current behavior (and make this warning disappear) use import imageio.v2 as imageio or call imageio.v2.imread directly.
source_image = imageio.imread(opt.source_image)
Traceback (most recent call last):
File "/media/oem/12TB/AdaSR-TalkingHead/demo.py", line 294, in
generator, kp_detector, he_estimator = load_checkpoints(config_path=opt.config, checkpoint_path=opt.checkpoint, gen=opt.gen, cpu=opt.cpu)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/media/oem/12TB/AdaSR-TalkingHead/demo.py", line 29, in load_checkpoints
config = yaml.load(f)
^^^^^^^^^^^^
TypeError: load() missing 1 required positional argument: 'Loader'

UPDA
TE
does it need this too?

parser.add_argument("--config", default='config/mix-resolution.yaml', help="path to config")
parser.add_argument("--checkpoint", default='/checkpoints/mix-train.pth.tar', help="path to checkpoint to restore")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions