Releases: Mayukhdeb/torch-dreams
Releases · Mayukhdeb/torch-dreams
torch-dreams v4.0.0
Updates:
- Added support for batch size>1 on a single image parameter + objective (
AutoImageParam
now has a new argbatch_size
which defaults to1
). This would lead to higher quality visualizations with a smaller number of iterations. - Fix unintended
PytorchVersionError
on torch2.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, ...)
)
torch-dreams v3.0.0
- 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
- Add default support for any version of torch >=
v1.8
torch-dreams v2.3.1
torch-dreams v2.3.0
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__()
fortorch_dreams.masked_image_param
torch-dreams v2.1.1
changes:
- added support for caricatures, which was inspired from this issue
torch-dreams v2.1.0
Changes:
- Added support for custom images with
custom_image_param
torch-dreams v2.0.4
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
Changes:
- Fix random crashes on google colab caused due to
torch.fft.irfftn
on torchv1.8.x
torch-dreams v2.0.2
Updates:
auto_image_param
instances can be saved as images withimage_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