Kale Kundert
Kale Kundert
These two expressions are almost identical, but it turns out that the latter is (currently) necessary to visualize models using torchlens. See johnmarktaylor91/torchlens#18 for more information. While this is a...
This PR is a proposal to refactor the Fourier transform API, with the goal of making it easier to incorporate Fourier transforms into other modules. Here are the two specific...
While I was working on #78, the test suite caused me a lot of trouble. There were two main problems: - Running the tests takes a really long time. I...
My reason for making this PR is that I wanted to be able to pickle *escnn* modules for the purpose of making checkpoints during training. Before I started, I noticed...
Here's a short example: ``` # test_foo.py import pytest @pytest.mark.parametrize( 'xs', [ [True], [False], ], ) def test_foo(xs, subtests): for x in xs: with subtests.test(x=x): assert x ``` When I...
Here's a minimal example: ```pycon >>> from CifFile import CifFile, CifBlock >>> cf['9xyz'] = CifBlock() >>> x = cf.WriteOut() Writing 9xyz, All blocks output. ``` If I want to control...
I just tried using torchlens on a model built using a library called [ESCNN](https://github.com/QUVA-Lab/escnn), and I ran into some errors that I'm hoping you can help me with. ESCNN is...
It'd be nice to have some ability to recurse into nested data structures. I think I can already descend into dicts using `cast()`, but I need another function for containers....
- Each time a file is loaded, note the top-level keys in global variable. - Each time a test is run, note which parameters were actually used. - At the...
The basic idea would be to load the file and then to look in `globals()` for test cases, e.g.: ``` test_foo = [ dict( given=1, expected=2, ), dict( given=3, expected=4,...