Updates integer division to use floor division operator (#2234)
Integer division using the div operator is deprecated and will throw a RuntimeError in PyTorch 1.6 (and on PyTorch Master very soon). Running a test build with a recent Torchvision commit and integer division using div ('/') disabled revealed this integer division.
I'll re-run the tests once this is fixed in case it's masking additional issues.
Showing
Please register or sign in to comment