Skip to content

Commit 1e65174

Browse files
committed
Fix DarkStage device kwargs
1 parent 6e01090 commit 1e65174

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

timm/models/cspnet.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,8 @@ def __init__(
500500
avg_down: bool = False,
501501
block_fn: Type[nn.Module] = BottleneckBlock,
502502
block_dpr: Optional[List[float]] = None,
503+
device=None,
504+
dtype=None,
503505
**block_kwargs,
504506
):
505507
dd = {'device': device, 'dtype': dtype}

0 commit comments

Comments
 (0)