Skip to content

Commit a8bd096

Browse files
committed
Remove duplicate check
Remove duplicate include_global_cond/global_cond_channels check; TemporalBackboneBase already raises.
1 parent b56e647 commit a8bd096

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

src/autocast/processors/azula_vit.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,6 @@ def __init__(
5454
)
5555
raise ValueError(msg)
5656

57-
if self.include_global_cond and (
58-
self.global_cond_channels is None or self.global_cond_channels <= 0
59-
):
60-
msg = (
61-
"include_global_cond=True requires global_cond_channels to be "
62-
"set to a positive integer."
63-
)
64-
raise ValueError(msg)
65-
6657
self.modulation_proj = None
6758
if (
6859
self.n_noise_channels

0 commit comments

Comments
 (0)