You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optim-wip: Add main Activation Atlas tutorial & functions (#782)
* Add main Activation Atlas classes & functions
* Add main Activation Atlas tutorial notebook
* Remove unsued import
* Changes based on feedback
* Underscore rotation class functions
* Fix & improve documentation.
* Revert weight heatmap variable name changes.
* Correct rotation transform bug.
* Revert ufmt change as it causes isort to fail
* Improve documentation of `AngledNeuronDirection` & atlas functions
* Improve atlas related documentation
* Move atlas.py to _utils/image & improve atlas docs
* Add sum_loss_list() function & correct target type hints
* Add `sum_loss_list()` to `optim/_core/loss.py` with tests.
* Replace `sum()` with `opt.loss.sum_loss_list()` in ActivationAtlas tutorial notebook.
* Correct `target` type hints for `Loss`, `BaseLoss`, and `CompositeLoss`. The correct type hint should be `Union[nn.Module, List[nn.Module]]` as that is what the code supports and uses.
* RandomRotation JIT support & other improvements
* Better way to handle torch version check with JIT
* The `torch.jit.is_scripting()` function isn't supported by earlier versions of PyTorch. So I've come up with a better solution that will still support earlier versions of PyTorch.
* Exposed `align_corners` parameter to `RandomRotation` class initialization.
* Improved `RandomRotation` class documentation.
* Use better scale type hint in RandomRotation init function
* Add torch.distributions support to RandomRotation
* Ludwig wanted this according to his original PR.
* Also fix mypy bug.
* Add assert & more tests for RandomRotation
* Added `torch.distribution` assert check and more extensive testing for the RandomRotation transform.
* Adding SkipTest to RandomRotation reflection
* Fix formatting error
* Changes to main atlas tutorial notebook based on feedback
* `extract_grid_vectors` -> `compute_avg_cell_samples`
* Improved documentation, and added better descriptions to the main atlas tutorial notebook.
* Remove unused type hint
* Improve whitening description in main activation atlas tutorial
* Spelling & grammar fixes
* Improve `calc_grid_indices` documentation
0 commit comments