Skip to content

Commit d3cefdd

Browse files
committed
Fix dpn exportable flag
1 parent 0114dd5 commit d3cefdd

File tree

1 file changed

+1
-1
lines changed
  • segmentation_models_pytorch/encoders

1 file changed

+1
-1
lines changed

segmentation_models_pytorch/encoders/dpn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
class DPNEncoder(DPN, EncoderMixin):
3636
_is_torch_scriptable = False
37-
_is_torch_exportable = False
37+
_is_torch_exportable = True # since torch 2.6.0
3838

3939
def __init__(
4040
self,

0 commit comments

Comments
 (0)