You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\DeepLearning\torch2trt-master\torch2trt\dataset.py:61: SyntaxWarning: assertion is always true, perhaps remove parentheses?
assert(len(self) > 0, 'Cannot create default flattener without input data.')
I think that you aim not assert(len(self) > 0, 'Cannot create default flattener without input data.') but assert len(self) > 0, 'Cannot create default flattener without input data.'.
Please review.
The text was updated successfully, but these errors were encountered:
Hello.
SyntaxWarning appeared when I imported torch2trt.
I think that you aim not
assert(len(self) > 0, 'Cannot create default flattener without input data.')
butassert len(self) > 0, 'Cannot create default flattener without input data.'
.Please review.
The text was updated successfully, but these errors were encountered: