Skip to content

Fix crash in Trellis2ImageTo3DPipeline when progress_bar is None#155

Open
tmralmeida wants to merge 1 commit into
visualbruno:mainfrom
tmralmeida:main
Open

Fix crash in Trellis2ImageTo3DPipeline when progress_bar is None#155
tmralmeida wants to merge 1 commit into
visualbruno:mainfrom
tmralmeida:main

Conversation

@tmralmeida

Copy link
Copy Markdown

Description
Fixes a bug in the Trellis2ImageTo3DPipeline class where the pipeline crashes during execution if a progress bar is not provided.

Details
The Issue: In the _run() method, the progress_bar can evaluate to None. Currently, the code attempts to call .update() in here without checking its existence, which results in an AttributeError.

The Fix: Added a None check before updating the progress bar to safely handle executions where the progress bar is omitted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant