MacBook pro commited on
Commit
db46fbe
·
1 Parent(s): 325f2c4

Use FasterLivePortrait appearance/motion (opset<=19) + myn0908 generator_fix_grid; avoid opset 20 validation error

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -65,13 +65,13 @@ RUN mkdir -p \
65
 
66
  # Optional model downloader configuration (example URLs)
67
  ARG MIRAGE_DOWNLOAD_MODELS=1
68
- ARG MIRAGE_LP_APPEARANCE_URL="https://huggingface.co/myn0908/Live-Portrait-ONNX/resolve/main/appearance_feature_extractor.onnx"
69
- ARG MIRAGE_LP_MOTION_URL="https://huggingface.co/myn0908/Live-Portrait-ONNX/resolve/main/motion_extractor.onnx"
70
- # Prefer the generator with grid fix from myn0908 repository
71
  ARG MIRAGE_LP_GENERATOR_URL="https://huggingface.co/myn0908/Live-Portrait-ONNX/resolve/main/generator_fix_grid.onnx"
72
  # Optional custom ops plugin is disabled by default (TensorRT not present in this image)
73
  # ARG MIRAGE_LP_GRID_PLUGIN_URL=""
74
- ARG MIRAGE_LP_STITCHING_URL="https://huggingface.co/myn0908/Live-Portrait-ONNX/resolve/main/stitching.onnx"
75
  ENV MIRAGE_DOWNLOAD_MODELS=${MIRAGE_DOWNLOAD_MODELS} \
76
  MIRAGE_LP_APPEARANCE_URL=${MIRAGE_LP_APPEARANCE_URL} \
77
  MIRAGE_LP_MOTION_URL=${MIRAGE_LP_MOTION_URL} \
 
65
 
66
  # Optional model downloader configuration (example URLs)
67
  ARG MIRAGE_DOWNLOAD_MODELS=1
68
+ ARG MIRAGE_LP_APPEARANCE_URL="https://huggingface.co/warmshao/FasterLivePortrait/resolve/main/liveportrait_onnx/appearance_feature_extractor.onnx"
69
+ ARG MIRAGE_LP_MOTION_URL="https://huggingface.co/warmshao/FasterLivePortrait/resolve/main/liveportrait_onnx/motion_extractor.onnx"
70
+ # Keep generator with grid fix from myn0908 repository
71
  ARG MIRAGE_LP_GENERATOR_URL="https://huggingface.co/myn0908/Live-Portrait-ONNX/resolve/main/generator_fix_grid.onnx"
72
  # Optional custom ops plugin is disabled by default (TensorRT not present in this image)
73
  # ARG MIRAGE_LP_GRID_PLUGIN_URL=""
74
+ ARG MIRAGE_LP_STITCHING_URL="https://huggingface.co/warmshao/FasterLivePortrait/resolve/main/liveportrait_onnx/stitching.onnx"
75
  ENV MIRAGE_DOWNLOAD_MODELS=${MIRAGE_DOWNLOAD_MODELS} \
76
  MIRAGE_LP_APPEARANCE_URL=${MIRAGE_LP_APPEARANCE_URL} \
77
  MIRAGE_LP_MOTION_URL=${MIRAGE_LP_MOTION_URL} \