Closed glenn-jocher closed 2 years ago
I'd recommend adding a __version__ attribute to the thop package to allow users to quickly determine the version number, i.e.
__version__
thop
This attribute is used by YOLOv5 check_requirements() function for example to determine version numbers for upgrades and installs.
Added https://github.com/Lyken17/pytorch-OpCounter/commit/1a872a2563396ea8ef0c843688cf0b47649c9657
Awesome!
I'd recommend adding a
__version__
attribute to thethop
package to allow users to quickly determine the version number, i.e.This attribute is used by YOLOv5 check_requirements() function for example to determine version numbers for upgrades and installs.