cvg / DeepLSD

Implementation of the paper "DeepLSD: Line Segment Detection and Refinement with Deep Image Gradients"
MIT License
486 stars 62 forks source link

remove deprecated torch._six string_classes #21

Closed davinnovation closed 1 year ago

davinnovation commented 1 year ago

Thank you for great research.

for minor bug fix, in the new pytorch version, ._six string_classes is deprecated. (https://github.com/pytorch/pytorch/pull/94709) changed to string_classes = str

rpautrat commented 1 year ago

Thanks for the fix, I appreciate that.