pystiche: A Framework for Neural Style Transfer
Authors/Creators
- 1. inIT - Institute Industrial IT, Technische Hochschule Ostwestfalen-Lippe (TH OWL)
Description
It is finally here: the first stable release of pystiche :tada:
It have been quite some (internal) iterations, but thanks to @irinafumarel we finally have a logo after #503:
What do you think?
Multi-layer encoderBefore the implementation of a pystiche.enc.MultiLayerEncoder required to encode all images upfront so the intermediate encodings can be cached. In a series of PRs (#466, #467, #470, #471, #499) this was refactored to now provide the same caching functionality on the fly. For an in-depth look at this, a new usage example showcasing this was added in #468.
pystiche.ops and pystiche.loss
The only difference between operators and losses was the fact that losses handled the upfront encoding of images. After the rework discussed above this was no longer necessary so there was no longer any reason to keep these two modules separate. With this release, pystiche.ops was merged into pystiche.loss in #500.
pystiche featured a custom logging system for the optimization loops. To keep the scope of this library narrow, this was replaced by tqdm in #451.
After this release pystiche will adhere to semantic versioning. Without going into details, this means:
BC-breaking changesGiven a version number MAJOR.MINOR.PATCH, increment the:
- MAJOR version when you make incompatible API changes,
- MINOR version when you add functionality in a backwards compatible manner, and
- PATCH version when you make backwards compatible bug fixes.
All of these changes issued a warning for at least one release.
- Functionality in
pystiche.optim.logandpystiche.optim.meterwere removed in favor oftqdm(#451) - The deprecated functions
default_image_optim_loop,default_image_pyramid_optim_loop,default_transformer_optimizer,default_transformer_optim_loop, anddefault_transformer_epoch_optim_loopwere removed from thepystiche.optimnamespace. (#465) - The keyword argument
get_optimizerwas removed frompystiche.optim.image_optimization. (#465) pystiche.image.transformswas removed in favor of functionality provided bytorchvision. (#472, #502)pystiche.data.Unsupervisedwas removed. (#504)pystiche.demo.demo_imageswas removed. (#504)- The keyword argument
weightswas removed frompystiche.enc.alexnet_multi_layer_encoder()andpystiche.enc.vgg_*_multi_layer_encoder(). (#504) - The keyword argument
user_agentwas removed frompystiche.misc.download_file. (#504) - The default behavior of
pystiche.extract_patches*d()and derivativespystiche.loss.MRFLossandpystiche.loss.functional.mrf_loss(formerlypystiche.ops.MRFOperatorandpystiche.ops.functional.mrf_loss) changed from non-batched to batched. (#506)
Files
pystiche/pystiche-v1.0.0.zip
Files
(7.4 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:9f753a76883cd05014711988513d7cd0
|
7.4 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/pystiche/pystiche/tree/v1.0.0 (URL)