NeuromatchAcademy / course-content-dl

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

several fixes for higher quality of jupyterbook #893

Closed spirosChv closed 1 year ago

spirosChv commented 1 year ago
  1. W1D3 T1: fix error produced when running on cuda
  2. W1D5 T1: correct a solution to an exercise (remove redundant comments)
  3. W2D4 T3: make optional a generation of an image to avoid CUDA memory allocation error during the book generation process
  4. W2D5 T1, T2 & W3D1 T1: small fixes (text)
github-actions[bot] commented 1 year ago
W1D3_Tutorial1 W1D5_Tutorial1 W2D4_Tutorial3 W2D5_Tutorial1 W2D5_Tutorial2 W3D1_Tutorial1
Instructor Open In Colab Open In Colab Open In Colab Open In Colab Open In Colab Open In Colab
Student Open In Colab Open In Colab Open In Colab Open In Colab Open In Colab Open In Colab
Code report for W1D3_Tutorial1 Code report for W1D3_Tutorial1.ipynb ==================================== Quality (pyflakes) ------------------ Total code issues: 0 Style (pycodestyle) ------------------- Total PEP8 violations: 188 Common problems: - 38 instances of E402 (module level import not at top of file) - 36 instances of E226 (missing whitespace around arithmetic operator) - 26 instances of E261 (at least two spaces before inline comment) - 12 instances of E266 (too many leading '#' for block comment) - 11 instances of E302 (expected 2 blank lines, found 0) - 8 instances of E303 (too many blank lines (3)) - 6 instances of E501 (line too long (100 > 88 characters)) - 6 instances of E228 (missing whitespace around modulo operator) - 5 instances of E302 (expected 2 blank lines, found 1) - 5 instances of E703 (statement ends with a semicolon) ---
Code report for W1D5_Tutorial1 Code report for W1D5_Tutorial1.ipynb ==================================== Quality (pyflakes) ------------------ Total code issues: 0 Style (pycodestyle) ------------------- Total PEP8 violations: 184 Common problems: - 56 instances of E402 (module level import not at top of file) - 13 instances of E266 (too many leading '#' for block comment) - 10 instances of E302 (expected 2 blank lines, found 1) - 9 instances of E302 (expected 2 blank lines, found 0) - 9 instances of E501 (line too long (100 > 88 characters)) - 9 instances of E703 (statement ends with a semicolon) - 8 instances of E231 (missing whitespace after ':') - 7 instances of E305 (expected 2 blank lines after class or function definition, found 0) - 5 instances of E501 (line too long (91 > 88 characters)) - 5 instances of E501 (line too long (89 > 88 characters)) ---
Code report for W2D4_Tutorial3 Code report for W2D4_Tutorial3.ipynb ==================================== Quality (pyflakes) ------------------ Total code issues: 0 Style (pycodestyle) ------------------- Total PEP8 violations: 152 Common problems: - 37 instances of E402 (module level import not at top of file) - 15 instances of E266 (too many leading '#' for block comment) - 11 instances of E231 (missing whitespace after ',') - 10 instances of E302 (expected 2 blank lines, found 0) - 7 instances of E128 (continuation line under-indented for visual indent) - 7 instances of E731 (do not assign a lambda expression, use a def) - 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) - 5 instances of W605 (invalid escape sequence '\s') - 4 instances of E501 (line too long (100 > 88 characters)) ---
Code report for W2D5_Tutorial1 Code report for W2D5_Tutorial1.ipynb ==================================== Quality (pyflakes) ------------------ Total code issues: 0 Style (pycodestyle) ------------------- Total PEP8 violations: 187 Common problems: - 62 instances of E402 (module level import not at top of file) - 14 instances of E251 (unexpected spaces around keyword / parameter equals) - 11 instances of E302 (expected 2 blank lines, found 0) - 11 instances of E302 (expected 2 blank lines, found 1) - 8 instances of E501 (line too long (100 > 88 characters)) - 6 instances of E266 (too many leading '#' for block comment) - 5 instances of E305 (expected 2 blank lines after class or function definition, found 0) - 5 instances of E703 (statement ends with a semicolon) - 4 instances of E305 (expected 2 blank lines after class or function definition, found 1) - 4 instances of E501 (line too long (95 > 88 characters)) ---
Code report for W2D5_Tutorial2 Code report for W2D5_Tutorial2.ipynb ==================================== Quality (pyflakes) ------------------ Total code issues: 0 Style (pycodestyle) ------------------- Total PEP8 violations: 155 Common problems: - 46 instances of E402 (module level import not at top of file) - 15 instances of E203 (whitespace before ':') - 8 instances of E501 (line too long (91 > 88 characters)) - 7 instances of E302 (expected 2 blank lines, found 1) - 7 instances of E225 (missing whitespace around operator) - 7 instances of E226 (missing whitespace around arithmetic operator) - 5 instances of E501 (line too long (100 > 88 characters)) - 5 instances of E305 (expected 2 blank lines after class or function definition, found 1) - 3 instances of E302 (expected 2 blank lines, found 0) - 3 instances of E501 (line too long (89 > 88 characters)) ---
Code report for W3D1_Tutorial1 Code report for W3D1_Tutorial1.ipynb ==================================== Quality (pyflakes) ------------------ Total code issues: 0 Style (pycodestyle) ------------------- Total PEP8 violations: 120 Common problems: - 57 instances of E402 (module level import not at top of file) - 8 instances of E302 (expected 2 blank lines, found 1) - 6 instances of E501 (line too long (100 > 88 characters)) - 4 instances of E302 (expected 2 blank lines, found 0) - 4 instances of E305 (expected 2 blank lines after class or function definition, found 1) - 4 instances of E305 (expected 2 blank lines after class or function definition, found 0) - 4 instances of E731 (do not assign a lambda expression, use a def) - 3 instances of E501 (line too long (95 > 88 characters)) - 3 instances of E501 (line too long (89 > 88 characters)) - 2 instances of E401 (multiple imports on one line) ---