From ebe8171e35572e1d15d9bfbf4e70d73a3692ed9f Mon Sep 17 00:00:00 2001 From: jifangw <164013213+jifangw@users.noreply.github.com> Date: Mon, 24 Feb 2025 14:39:44 +0800 Subject: [PATCH] Update test_cot.py --- README.md | 33 ++++++++++++++++++++++----------- 1 files changed, 22 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 43f9923..079ac34 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,8 @@ π― [**Project Page**](https://filmagent.github.io) :octocat: [**Code**](https://github.com/HITsz-TMG/FilmAgent) π [**Paper**](https://arxiv.org/abs/2501.12909) π§βπ» [**Slides**](https://filmagent.github.io/static/SA24_FilmAgent.pdf) π½οΈ [**Video**](https://www.youtube.com/watch?v=hTI-0777iHU) +<a href="https://trendshift.io/repositories/12871" target="_blank"><img src="https://trendshift.io/api/badge/repositories/12871" alt="HITsz-TMG%2FFilmAgent | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a> + </div> # @@ -37,7 +39,16 @@ **FilmAgent** is a multi-agent collaborative system for end-to-end film automation in 3D virtual spaces. FilmAgent simulates key crew rolesβdirectors, screenwriters, actors, and cinematographers, and integrates efficient human workflows within a sandbox environment. -<div align=center><img src="https://github.com/HITsz-TMG/FilmAgent/blob/main/pics/intro.png" height="100%" width="85%"/></div> +<div align=center><img src="https://github.com/HITsz-TMG/FilmAgent/blob/main/pics/intro.png" height="100%" width="78%"/></div> + +## π₯ News + +- `2025/2/11`: π¬ Weβve just released a fan-made video about ***NeZha2***, in celebration of its record-breaking success at the box office. Click the image below to watch the video! π + [<div align=center><img src="https://github.com/HITsz-TMG/FilmAgent/blob/main/pics/nezha_youtube.png" width="450"></div>](https://www.youtube.com/watch?v=jY3n-AzBtUQ) +- `2025/1/23`: π We're excited that FilmAgent is recommended by [AK](https://x.com/_akhaliq/status/1882268452716728789), [el.cine](https://x.com/EHuanglu/status/1882294685919772928) and [Theoretically Media](https://www.youtube.com/watch?v=0ebXKegfxWk&t=899s). Thanks! +- `2025/1/22`: π Our paper is now accessible at https://arxiv.org/abs/2501.12909. + + ## π Framework @@ -77,7 +88,7 @@ python GenerateAudio.py ``` -5. We now have the `script.json`, `actors_profile.json`, and a series of `.wav` audio files. Next, we need to execute the script in Unity. The recommended version of the Unity editor is **Unity 2022.3.14f1c1**. You need to download the [Unity project file](https://www.dropbox.com/scl/fi/atxhxnqppeofmt471dxr5/TheBigBang.zip) we provide. After decompression, open `TheBigBang\Assets\TheBigBang\Manyrooms.unity` with Unity. Then replace all the absolute pathnames '/path/to/' with your specific path in `TheBigBang\Assets\Scirpts\StartVideo.cs` and `TheBigBang\Assets\Scirpts\ScriptExecute.cs`. Press **'ctrl+R'** in the unity interface to recompile, click **'Play'** to enter Game mode, then press **'E'** to start executing the script (sometimes the audio files load slowly, so you may need to play it 2 or 3 times before it can run normally). +5. We now have the `script.json`, `actors_profile.json`, and a series of `.wav` audio files. Next, we need to execute the script in Unity. The recommended version of the Unity editor is **Unity 2022.3.14f1c1**. You need to download the Unity project file we provide [[Dropbox](https://www.dropbox.com/scl/fi/atxhxnqppeofmt471dxr5/TheBigBang.zip?rlkey=o7zuqficetabkk2h1w1npkv3v&st=5s41rzdv&dl=0)][[Baidu Disk](https://pan.baidu.com/s/10wgfvtcG-xnx1fA9Rd_zwg?pwd=5aif)]. After decompression, open `TheBigBang\Assets\TheBigBang\Manyrooms.unity` with Unity. Then replace all the absolute pathnames '/path/to/' with your specific path in `TheBigBang\Assets\Scirpts\StartVideo.cs` and `TheBigBang\Assets\Scirpts\ScriptExecute.cs`. Press **'ctrl+R'** in the unity interface to recompile, click **'Play'** to enter Game mode, then press **'E'** to start executing the script (sometimes the audio files load slowly, so you may need to play it 2 or 3 times before it can run normally). <div align=center><img src="https://github.com/HITsz-TMG/FilmAgent/blob/main/pics/unity_1.png" height="100%" width="50%"/><img src="https://github.com/HITsz-TMG/FilmAgent/blob/main/pics/unity_2.png" height="100%" width="50%"/></div> @@ -85,30 +96,30 @@ ## π Case Study -### What does Multi-Agent Collaboration do? -The following table records some comparisons of the scripts and camera settings before (left) and after (right) multi-agent collaboration, with excerpts from their discussion process. +### π€ What does Multi-Agent Collaboration do? +The following table records some comparisons of the scripts and camera settings **before (β¬ οΈ) and after (β‘οΈ)** multi-agent collaboration, with excerpts from their discussion process. <div align=center><img src="https://github.com/HITsz-TMG/FilmAgent/blob/main/pics/cases.png" height="100%" width="70%"/></div> -Case #1 and #2 are from the Critique-Correct-Verify method in Scriptwriting #2 and #3 stages respectively. Case #3 and #4 are from the Debate-Judge method in Cinematography. +π **Case Highlights:** - **Case #1** shows that Director-Screenwriter discussion reduces hallucinations in non-existent actions (e.g., standing suggest), enhances plot coherence, and ensures consistency across scenes. - **Case #2** shows that Actor-Director-Screenwriter discussion improves the alignment of dialogue with character profiles. - **Case #3**, in the Debate-Judge method in cinematography, demonstrates the correction of an inappropriate dynamic shot, which is replaced with a medium shot to better convey body language. - **Case #4** replaces a series of identical static shots with a mix of dynamic and static shots, resulting in a more diverse camera setup. -### Comparison with Sora +### βοΈ Comparison with Sora <div align=center><img src="https://github.com/HITsz-TMG/FilmAgent/blob/main/pics/sora.png" height="100%" width="70%"/></div> +While Sora (π [Video](https://github.com/user-attachments/assets/65bb4c12-cba0-4ee9-a673-63ea5103fd76)) shows great adaptability to diverse locations, characters and shots, it **struggles with consistency and narrative delivery**, along with **strange artifacts**. +In contrast, FilmAgent requires pre-built 3D spaces, but it produces **coherent, physics-compliant** videos with strong **storytelling capabilities** (βΆοΈ Watch on [Youtube](https://www.youtube.com/watch?v=yOOycdfolFY)). -https://github.com/user-attachments/assets/65bb4c12-cba0-4ee9-a673-63ea5103fd76 +### β¨ Integration with Text-to-Video Models (e.g. Sora, Vidu) +We are currently working towards **merging the power of text-to-video models with FilmAgent**, unlocking enhanced storytelling, greater adaptability, and improved consistency. π - -While Sora shows **great adaptability** to diverse locations, characters and shots, it struggles with consistency and narrative delivery. In contrast, FilmAgent requires pre-built 3D spaces, but it produces **coherent, physics-compliant** videos -with strong **storytelling capabilities**. - +Here is a preview of our workβa fan-made tribute to the box office phenomenon *NeZha2* [βΆοΈ[video link](https://www.youtube.com/watch?v=jY3n-AzBtUQ)]. This video celebrates *NeZha2* surpassing a CNY 8 billion at the box office, officially crowning it as the highest-grossing film in a single territory! π ## π Citation -- Gitblit v1.8.0