Jacob Segal af02393c2a Default to sampling entire image
By default, when applying a mask to a condition, the entire image will
still be used for sampling. The new "set_area_to_bounds" option on the
node will allow the user to automatically limit conditioning to the
bounds of the mask.

I've also removed the dependency on torchvision for calculating bounding
boxes. I've taken the opportunity to fix some frustrating details in the
other version:
1. An all-0 mask will no longer cause an error
2. Indices are returned as integers instead of floats so they can be
   used to index into tensors.
2023-04-29 00:16:58 -07:00
..
2023-04-23 12:35:25 -04:00
2023-01-16 22:37:14 -05:00
2023-04-07 02:31:46 -04:00
2023-04-27 04:38:44 -04:00
2023-04-29 00:16:58 -07:00
2023-01-16 22:37:14 -05:00
2023-04-23 12:35:25 -04:00
2023-04-23 12:35:25 -04:00