In the 'srcset' and 'sizes' attribute of the img tag can contain float numbers.
This {{ picture_size.size.0}}w output the pixel size as 1366.0w which triggers this warning in chrome:
Failed parsing 'srcset' attribute value since its 'w' descriptor is invalid.
I solved this by using a float format filter to remove the decimal point:
{{ picture_size.size.0 | floatformat:"0" }}w