Skip to content

Releases

0.1.1

Choose a tag to compare

@lucmos lucmos released this 17 May 12:44

What's Changed

  • Fix conversion from path to str by @lucmos in #16

Full Changelog: 0.1.0...0.1.1

0.1.0

Choose a tag to compare

@lucmos lucmos released this 07 Feb 16:36
d57cda6

What's Changed

  • Generalize df2table_meanstd by @lucmos in #14
  • Update setup.cfg with lazy dependencies by @lucmos in #15

Full Changelog: 0.0.6...0.1.0

0.0.6

Choose a tag to compare

@lucmos lucmos released this 12 Oct 10:01
c1d6599

Highlights

🚀 Ensure equal importance of loss penalties in terms of grad norms in a specific layer 🚀

Other weights can then be applied, e.g. to have a loss term that influences the weights 50% more than the other.

# Given two losses 
loss_a, loss_b

# Compute the loss_b weight
loss_b_weight = calculate_adaptive_weight(loss_a, loss_b, layer)
loss_b_weighted = loss_b_weight * loss_b

# So that loss_a and loss_b have equal importance in the specified layer grads
loss_a_gradnorm = torch.norm(torch.autograd.grad(loss_a, layer, retain_graph=True)[0])
loss_b_weighted_gradnorm = torch.norm(torch.autograd.grad(loss_b_weighted, layer, retain_graph=True)[0])
assert torch.allclose(loss_a_gradnorm, loss_b_weighted_gradnorm)

What's Changed

  • Disable pivot sorting in latex df by @lucmos in #12
  • Add function to compute adaptive loss weights by @lucmos in #13

Full Changelog: 0.0.5...0.0.6

0.0.5

Choose a tag to compare

@lucmos lucmos released this 25 Sep 07:59
6e19f96

What's Changed

  • Add Chrono utility by @lucmos in #8
  • Add recipe of hydra cfg in notebook by @lucmos in #10
  • Add recipe to convert svg fig into pdf by @lucmos in #9
  • Increase flexibility of df tolatex fun by @lucmos in #11

Full Changelog: 0.0.4...0.0.5

0.0.4

Choose a tag to compare

@lucmos lucmos released this 02 Sep 17:07
81436ad

What's Changed

  • Implement funcions to infer missing parameters for Conv2d and ConvTranspose2d by @lucmos in #5
  • Optimize test for MetadataDatasetDict by @lucmos in #6
  • Add dynamic nn builder and simplify dynamic AE by @lucmos in #7

Full Changelog: 0.0.3...0.0.4

0.0.3

Choose a tag to compare

@lucmos lucmos released this 31 Aug 09:44
3a4a905

What's Changed

New Contributors

Full Changelog: 0.0.2...0.0.3

0.0.2

Choose a tag to compare

@lucmos lucmos released this 29 Aug 19:02
4be0407

What's Changed

  • Use torch-cpu in github actions by @lucmos in #4
  • Add dynamic AE wrt input size by @lucmos in #3

Full Changelog: 0.0.1...0.0.2

0.0.1

Choose a tag to compare

@lucmos lucmos released this 31 May 13:56
50f0844

What's Changed

  • Add df to LaTeX table with meanstd conversion by @lucmos in #1

New Contributors

  • @lucmos made their first contribution in #1

Full Changelog: https://github.com/lucmos/anypy/commits/0.0.1