初めに
昨日以下のLLMを動かしました。
昨日のPRで動画の推論コードがマージされたので、触ってみます
開発環境
セットアップ
ライブラリをインストールします
uv pip install transformers
uv pip install torch --index-url https://download.pytorch.org/whl/cu121
uv pip install pillow opencv-python
動画推論
動画は以下を使います
連番画像から動画の変換はできた pic.twitter.com/cIjZ65Cuew
— ようさん (@ayousanz) 2024年11月24日
結果は以下になります
Question: Describe the video Response: User: Answer briefly.<image>Describe the video Assistant: A green and white airplane is parked on a runway. A group of people are walking towards the airplane. A person is walking away from the airplane. The airplane is parked on a runway. The airplane is parked on a runway. The airplane is parked on a runway. The airplane is parked on a runway. The airplane is parked on a runway. The airplane is parked on a runway. The airplane is parked on a runway. The airplane is parked on a runway. The airplane is parked on a