lipku / metahuman-stream

Real time interactive streaming digital human
https://zhuanlan.zhihu.com/p/675131165
MIT License
957 stars 218 forks source link

Error in step python app.py #68

Open h-oneohone opened 2 months ago

h-oneohone commented 2 months ago
[INFO] loading ASR model cpierse/wav2vec2-large-xlsr-53-esperanto...
/root/miniconda3/envs/nerfstream/lib/python3.10/site-packages/transformers/configuration_utils.py:363: UserWarning: Passing `gradient_checkpointing` to a config initialization is deprecated and will be removed in v5 Transformers. Using `model.gradient_checkpointing_enable()` instead, or if you are using the `Trainer` API, pass `gradient_checkpointing=True` in your `TrainingArguments`.
  warnings.warn(
[INFO] warm up ASR live model, expected latency = 0.360000s
[INFO] frame_to_text...
[INFO] frame_to_text... 
[INFO] warm-up done, actual latency = 1.276253s
[libopenh264enc @ 0x7fd77400d380] [Eval @ 0x7fd7b6820820] Undefined constant or missing '(' in 'baseline'
[libopenh264enc @ 0x7fd77400d380] Unable to parse option value "baseline"
[libopenh264enc @ 0x7fd77400d380] Error setting option profile to value baseline.
Could not open video encoder!
start websocket server
[INFO] frame_to_text... 
[INFO] frame_to_text... 
[INFO] frame_to_text... 
[INFO] frame_to_text... 
[INFO] frame_to_text... 
[INFO] frame_to_text... 
[INFO] frame_to_text... 
[INFO] frame_to_text... 
[INFO] frame_to_text... 
lipku commented 2 months ago

ffmpeg版本不对,https://github.com/lipku/metahuman-stream/issues/43

h-oneohone commented 1 month ago

ffmpeg版本不对,#43

Where can I disable "[INFO] frame_to_text... ", I removed print("[INFO] frame_to_text... ") in asrreal.py but they still appear