-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #65 from prs-eth/pipeline_variable
Add pipeline variables
- Loading branch information
Showing
6 changed files
with
262 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Has anyone tried training after this merge?
I am getting the following error in the validation step: AssertionError: Wrong input shape torch.Size([3, 768, 1024]), expected [1, rgb, H, W]
In marigold_trainer.py function validate_single_dataset(), the input image is being squeezed to a 3 dimensional shape:
rgb_int = batch["rgb_int"].squeeze() # [3, H, W]
, but in marigold_pipeline.py, it doesn't change the shape if the input is a tensor: