The current requirements.txt file does not specify versions.
However, this line does not run with torch <= 1.0.0.
The reason is that the output of max is a tuple in versions 1.0.0 and older, but it is a namedtuple in version 1.1.0 and up. The line linked above relies on the output being a namedtuple.
The current
requirements.txt
file does not specify versions.However, this line does not run with torch <= 1.0.0.
The reason is that the output of
max
is atuple
in versions 1.0.0 and older, but it is anamedtuple
in version1.1.0
and up. The line linked above relies on the output being anamedtuple
.