Skip to content

Releases: Mayukhdeb/torch-dreams

torch-dreams v4.0.0

Choose a tag to compare

@Mayukhdeb Mayukhdeb released this 14 Jun 08:38

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

Choose a tag to compare

@Mayukhdeb Mayukhdeb released this 05 Nov 19:46
  • 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

Choose a tag to compare

@Mayukhdeb Mayukhdeb released this 13 Nov 06:49
  • Add default support for any version of torch >= v1.8

torch-dreams v2.3.1

Choose a tag to compare

@Mayukhdeb Mayukhdeb released this 29 Jun 10:02

Changes:

torch-dreams v2.3.0

Choose a tag to compare

@Mayukhdeb Mayukhdeb released this 02 Jun 07:21

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

Choose a tag to compare

@Mayukhdeb Mayukhdeb released this 12 Apr 08:22

changes:

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

torch-dreams v2.1.0

Choose a tag to compare

@Mayukhdeb Mayukhdeb released this 04 Apr 13:40

Changes:

  • Added support for custom images with custom_image_param

torch-dreams v2.0.4

Choose a tag to compare

@Mayukhdeb Mayukhdeb released this 02 Apr 18:09

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

Choose a tag to compare

@Mayukhdeb Mayukhdeb released this 29 Mar 18:55

Changes:

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

torch-dreams v2.0.2

Choose a tag to compare

@Mayukhdeb Mayukhdeb released this 28 Mar 16:55

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