- Added deterministic prediction function to
VAE2d
. - Updated
VAE2d
demo. - Typo tweaks.
- Added dropout option to all of the 2d conv blocks.
- Added dropout to
UNet
,AutoEncoder2d
andVAE2d
.
- Updated the
UNet
's docstring.
- Made changes to
VAE2d
:- Added the option to have the mean and variance nets be CNNs, rather than MLPs.
- Started returning the KL divergence during training and validation.
- Added extra tests accordingly.
- Added the option to freeze the encoder in the forward pass of
SimpleConvNet2d
.
- Account for the attribution being initialised by
normal_init
being None.
- Made Scikit Image a requirement of
torch_tools
rather than just having it in the dev env; the shapes dataset needs it.
- Updated
torch_tools.weight_init.normal_init
with options for which attrs get initialised.
- Added total variational loss function
total_image_variation
.
- Add
get_features
method toSimpleConvNet2d
for extracting encoded features. - Add
get_features
method toConvNet2d
for extracting encoded features. - Added a demo using a multiple-instance-learning attention model.
- Changed
AutoEncoder2d
demo to use ovarian histology images.
- Added residual blocks as optional block style to all relevant models.
- Changed the
UNet
demo to use a nuclei segmentation data set.
- Added synthetic shapes dataset and demo.
- Changed the classification demo for
FCNet
to the penguin problem.
- Added
py.typed
package data to toml.
- Added missing docs for
VAE2d
.
- Added
torch_tools.models._blocks_2d.ConvResBlock
.
- Removed biases in residual block.
- Added
py.typed
file.
- Added
torch_tools.VAE2d
model.
- Updated the docstring in
torch_tools.ConvNet2d
.
- Fixed error in the doc-building caused by Torchvision (and possibly PyTorch).
- Added a demo for the
patchify_img_batch
function.
Changes:
- Added mixup augmentation option to ```DataSet``.
Changes:
- Fixed typo in
FCNet
docstring:DenseNetwork
->FCNet
- Minor refactoring of GitHub workflows.
- Move some of the dev requirements into the pip section.
Updated the docstring in ConvNet2d
to include the mobilenet options.
This release introduces:
- Mobilenet v3 as an encoder style for
ConvNet2d
. - Fixing a docstring typo in
ConvNet2d
.
The only difference in this minor version update is a tiny patch to the README: the instructions for the pip install ...
commands were missing the "git+"
prefixes before the URL. They have now been added.
The source-code links in docs weren't working. This ha now been fixed.
For all of the models using 2D convolutional layers (except ConvNet2d
, which uses predetermined architectures), the kernel size argument is now optional. Spoiler alert: it has to be an odd, positive, integer.
- Fixed a typo in the docstring for
torch_tools.models._argument_processing.process_dropout_prob
. Theprob
arg should be on[0.0, 1.0)
, and not(0.0, 1.0]
as described. This was only a typo in the docstring and not a bug. - Made
source
link available in the docs.
- The repo has moved from the old
setup.py
to use apyproject.toml
— hopefully correctly. The version imports and python dependencies have been updated accordingly. - The demos now use the
requirements-dev.conda.yaml
. - You can now install the package with pip from Github.