Skip to content

Releases: Mayukhdeb/torch-dreams

torch-dreams v4.0.0

14 Jun 08:38
Compare
Choose a tag to compare

Updates:

  • Added support for batch size>1 on a single image parameter + objective (AutoImageParam now has a new arg batch_size which defaults to 1). This would lead to higher quality visualizations with a smaller number of iterations.
  • Fix unintended PytorchVersionError on torch 2.x. Thanks @matthiasgeihs 🙌

Interface change:
The input (layer_outputs) in custom objective functions is not anymore a list of tensors of shape (c, h, w). It's now a list of tensors of shape (n, c, h, w) where n = batch size. (The same applies for other shapes of intermediate layer outputs (...) -> (n, ...))

This is an example of an old v/s new objective function:
image

torch-dreams v3.0.0

05 Nov 19:46
Compare
Choose a tag to compare
  • Add support for batched image parameters + objective functions (speed++ 🚀)
  • Adapt to latest torch version
  • Fix casing + improved interface (breaking change)

torch-dreams v2.3.2

13 Nov 06:49
Compare
Choose a tag to compare
  • Add default support for any version of torch >= v1.8

torch-dreams v2.3.1

29 Jun 10:02
Compare
Choose a tag to compare

Changes:

torch-dreams v2.3.0

02 Jun 07:21
Compare
Choose a tag to compare

Updates:

  • Added support for models with custom image normalizations with torch_dreams.dreamer.set_custom_normalization()

Bug fixes:

  • Fixed corrupted image outputs on self.__array__() for torch_dreams.masked_image_param

torch-dreams v2.1.1

12 Apr 08:22
Compare
Choose a tag to compare

changes:

  • added support for caricatures, which was inspired from this issue

torch-dreams v2.1.0

04 Apr 13:40
Compare
Choose a tag to compare

Changes:

  • Added support for custom images with custom_image_param

torch-dreams v2.0.4

02 Apr 18:09
Compare
Choose a tag to compare

Changes:

  • Moved completely to torch v1.8.x
  • FFT parameterization with shape [1, 3, height, width] from [1, 3, height, width//2, 2]
  • Fixed failing tests due to incorrect device allocations

torch-dreams v2.0.3

29 Mar 18:55
Compare
Choose a tag to compare

Changes:

  • Fix random crashes on google colab caused due to torch.fft.irfftn on torch v1.8.x

torch-dreams v2.0.2

28 Mar 16:55
Compare
Choose a tag to compare

Updates:

  • auto_image_param instances can be saved as images with image_param.save('image.jpg')
  • Fixed random crashes on google colab
  • dreamer.get_snapshot() now in testing
  • feedback loops now don't modify the original image parameter. Uses a deepcopy instead