John Muradeli
John Muradeli
@t-vi The main point that two tensors share the same Storage is correct, but it's also important to not confuse that with identical _Python id's_; I think the existing examples...
@t-vi Also misleading statement in 5.5.2:  This only holds for the baby example and completely breaks down for larger models, so to not underscore importance of input normalization maybe...
@t-vi Done reading, ended at ch12. Likely typos: - 8.2.4: `MaxPool3d` -> `MaxPool2d` - 8.3.1: `self.pool3` -> `self.pool2` - 9.4.4: `code/p2ch09_explore_data.ipynb` -> p2ch10? - 10.4.4: `getRawNodule` -> `getRawCandidate` - Listing...
@StefRe Great, this'll do - though users might be as oblivious as I was per not checking the likely massive log dumps or just missing it.
@jitseniesen All tests pass, though no plots generated when ran via Anaconda Powershell Prompt. Tests also pass if the test `.py` file is ran from within Spyder via "Run" as...
Sure: ```python import pytest import matplotlib.pyplot as plt def test_plot(): plt.plot(list(range(10))) plt.show() # no stall if commented, but no plot either if __name__ == '__main__': pytest.main([__file__, "-s"]) ```
@StefRe Thanks for the suggestion. From what I can tell, `compare_images` tests (1) correctness of figure saving, (2) Spyder vs. unittest rc settings. I never found (1) a problem, and...
@StefRe By "silencing isn't always an option" I meant I need to personally validate generated plots (can't code "check if annotation floats nicely near histogram"). True that I don't _always_...
@jitseniesen It's automatic once I validate all figures look as expected, e.g. changing any non-visual features don't require inspection - hence why I consider the issue part-solved. Glad it's kept...
My handling of the suggestion, for others' reference; add below to `__init__.py` of test directory: ```python import os import matplotlib if not os.environ.get('IS_MAIN', '0') == '1': matplotlib.use('template') # suppress figures...