run logic error when finish

Open Beginner friendly
#77 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
88/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
python
Domain
backend

Research direction

Start with Matrix-Game-3/generate.py around lines 171-188 and inspect the exit() call in pipeline/inference_pipeline.py around line 712. Run the provided Python example or the relevant generation command, then verify that the log includes "Finished." and the five following lines execute after video generation completes.

Written by the indexing model from the issue text.

Description

example

def generate():
    print("Saved concatenated video with {len(all_videos_list)} segments") # https://github.com/SkyworkAI/Matrix-Game/blob/main/Matrix-Game-3/pipeline/inference_pipeline.py#L702
    exit() # https://github.com/SkyworkAI/Matrix-Game/blob/main/Matrix-Game-3/pipeline/inference_pipeline.py#L712

def main():
    print("Generating video ...") # https://github.com/SkyworkAI/Matrix-Game/blob/main/Matrix-Game-3/generate.py#L171
    generate()  # https://github.com/SkyworkAI/Matrix-Game/blob/main/Matrix-Game-3/generate.py#L172
    print("Finished.") # https://github.com/SkyworkAI/Matrix-Game/blob/main/Matrix-Game-3/generate.py#L188

main()

run result: no "Finished." in log

# python test.py 
Generating video ...
Saved concatenated video with {len(all_videos_list)} segments
Dominant language
Python
Stars
2.3k
Forks
254
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SkyworkAI/Matrix-Game

All issues in SkyworkAI/Matrix-Game

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.