NeuromatchAcademy / course-content-dl

NMA deep learning course
https://deeplearning.neuromatch.io/
Creative Commons Attribution 4.0 International
745 stars 270 forks source link

Minor fixes #770

Closed spirosChv closed 2 years ago

github-actions[bot] commented 2 years ago
Image_Alignment spectrogram_analysis blurry_vision
Instructor Open In Colab Open In Colab Open In Colab
Student
Code report for Image_Alignment Code report for Image_Alignment.ipynb ===================================== Quality (pyflakes) ------------------ Total code issues: 13 Cell 2, Line 2: 'glob' imported but unused Cell 2, Line 3: 'time' imported but unused Cell 2, Line 4: 'sklearn.decomposition' imported but unused Cell 2, Line 16: 'torchvision.utils.make_grid' imported but unused Cell 2, Line 17: 'torchvision.datasets.ImageFolder' imported but unused Cell 2, Line 18: redefinition of unused 'transforms' from line 21 Cell 2, Line 20: 'PIL.Image' imported but unused Cell 9, Line 9: undefined name 'data_utils' Cell 9, Line 10: undefined name 'data_utils' Cell 19, Line 3: 'csbdeep.utils.plot_history' imported but unused Cell 20, Line 42: local variable 'slow' is assigned to but never used Cell 22, Line 6: local variable 'd' is assigned to but never used Cell 22, Line 7: undefined name 'soft_n_cut_loss' Style (pycodestyle) ------------------- Total PEP8 violations: 160 Common problems: - 63 instances of E225 (missing whitespace around operator) - 42 instances of E226 (missing whitespace around arithmetic operator) - 10 instances of E302 (expected 2 blank lines, found 0) - 6 instances of E305 (expected 2 blank lines after class or function definition, found 0) - 6 instances of E131 (continuation line unaligned for hanging indent) - 4 instances of E402 (module level import not at top of file) - 2 instances of E302 (expected 2 blank lines, found 1) - 2 instances of E126 (continuation line over-indented for hanging indent) - 2 instances of E501 (line too long (93 > 88 characters)) - 2 instances of E123 (closing bracket does not match indentation of opening bracket's line) ---
Code report for spectrogram_analysis Code report for spectrogram_analysis.ipynb ========================================== Quality (pyflakes) ------------------ Total code issues: 0 Style (pycodestyle) ------------------- Total PEP8 violations: 35 Common problems: - 4 instances of E251 (unexpected spaces around keyword / parameter equals) - 4 instances of E231 (missing whitespace after ',') - 4 instances of E226 (missing whitespace around arithmetic operator) - 2 instances of E302 (expected 2 blank lines, found 1) - 2 instances of E128 (continuation line under-indented for visual indent) - 2 instances of E501 (line too long (95 > 88 characters)) - 1 instance of E401 (multiple imports on one line) - 1 instance of E402 (module level import not at top of file) - 1 instance of E703 (statement ends with a semicolon) - 1 instance of E305 (expected 2 blank lines after class or function definition, found 0) ---
Code report for blurry_vision Code report for blurry_vision.ipynb =================================== Quality (pyflakes) ------------------ Total code issues: 6 Cell 2, Line 3: 'time' imported but unused Cell 2, Line 9: 'PIL.Image' imported but unused Cell 2, Line 9: 'PIL.ImageFilter' imported but unused Cell 2, Line 10: 'shutil.copyfile' imported but unused Cell 2, Line 10: 'shutil.rmtree' imported but unused Cell 2, Line 16: 'torch.nn.functional as F' imported but unused Style (pycodestyle) ------------------- Total PEP8 violations: 81 Common problems: - 19 instances of E226 (missing whitespace around arithmetic operator) - 13 instances of E231 (missing whitespace after ',') - 8 instances of E225 (missing whitespace around operator) - 5 instances of E302 (expected 2 blank lines, found 1) - 5 instances of E305 (expected 2 blank lines after class or function definition, found 0) - 4 instances of E302 (expected 2 blank lines, found 0) - 3 instances of W292 (no newline at end of file) - 2 instances of E128 (continuation line under-indented for visual indent) - 2 instances of E251 (unexpected spaces around keyword / parameter equals) - 2 instances of E261 (at least two spaces before inline comment) ---