greentfrapp / lucent

Lucid library adapted for PyTorch
Apache License 2.0
597 stars 89 forks source link

pytorch version rollover breaks some version checking logic #32

Open lav8org opened 2 years ago

lav8org commented 2 years ago
  1. Thanks for this awesome library!
  2. Since torch doesn't report version with zero fill, lexicographical sort breaks from numerical at digit rollover (1.10). The particular instance I've just hit is line 58 of lucent/optvis/param/spatial.py