Closed karthikg-09 closed 3 months ago
for tyro you need to do a pip install tyro
try reinstalling the node, the requirements file has been updated
Here's the fix for the path issue when using Linux. You need to edit the live_portrait.py file, specifically lines 153-159:
inference_cfg = InferenceConfig(
models_config=os.path.join(current_directory, 'LivePortrait/src/config/models.yaml'),
checkpoint_F=os.path.join(liveportrait_model, 'base_models/appearance_feature_extractor.pth'),
checkpoint_M=os.path.join(liveportrait_model, 'base_models/motion_extractor.pth'),
checkpoint_G=os.path.join(liveportrait_model, 'base_models/spade_generator.pth'),
checkpoint_W=os.path.join(liveportrait_model, 'base_models/warping_module.pth'),
checkpoint_S=os.path.join(liveportrait_model, 'retargeting_models/stitching_retargeting_module.pth')
)
Also missing requirements
insightface
andtyro