toandaominh1997 / EfficientDet.Pytorch

Implementation EfficientDet: Scalable and Efficient Object Detection in PyTorch
MIT License
1.44k stars 305 forks source link

refactor code, add acumulation gradient, support efficentdetd0-d7 #15

Closed toandaominh1997 closed 4 years ago

toandaominh1997 commented 4 years ago
pep8speaks commented 4 years ago

Hello @toandaominh1997! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 60:28: E251 unexpected spaces around keyword / parameter equals Line 60:30: E251 unexpected spaces around keyword / parameter equals Line 61:80: E501 line too long (81 > 79 characters)

Line 7:4: E225 missing whitespace around operator Line 67:62: E251 unexpected spaces around keyword / parameter equals Line 67:80: E501 line too long (103 > 79 characters) Line 70:78: W291 trailing whitespace Line 98:27: E225 missing whitespace around operator Line 99:9: E265 block comment should start with '# ' Line 131:9: E265 block comment should start with '# ' Line 133:41: E261 at least two spaces before inline comment Line 133:42: E262 inline comment should start with '# ' Line 137:11: E225 missing whitespace around operator Line 139:15: E225 missing whitespace around operator Line 143:33: E231 missing whitespace after ',' Line 143:58: E231 missing whitespace after ',' Line 146:15: E225 missing whitespace around operator Line 147:11: E225 missing whitespace around operator Line 150:80: E501 line too long (119 > 79 characters) Line 153:15: E225 missing whitespace around operator Line 155:80: E501 line too long (106 > 79 characters) Line 156:80: E501 line too long (101 > 79 characters)

Line 5:1: E302 expected 2 blank lines, found 1 Line 20:1: E302 expected 2 blank lines, found 1 Line 76:1: E305 expected 2 blank lines after class or function definition, found 1 Line 84:1: E302 expected 2 blank lines, found 1

Line 27:80: E501 line too long (81 > 79 characters)

Line 134:80: E501 line too long (101 > 79 characters) Line 135:80: E501 line too long (103 > 79 characters) Line 136:80: E501 line too long (94 > 79 characters) Line 140:80: E501 line too long (87 > 79 characters) Line 142:80: E501 line too long (129 > 79 characters) Line 144:80: E501 line too long (91 > 79 characters) Line 147:80: E501 line too long (105 > 79 characters) Line 229:1: W293 blank line contains whitespace Line 234:1: W293 blank line contains whitespace

Line 53:1: E302 expected 2 blank lines, found 1 Line 57:80: E501 line too long (103 > 79 characters) Line 60:80: E501 line too long (139 > 79 characters) Line 63:80: E501 line too long (82 > 79 characters) Line 64:1: W293 blank line contains whitespace Line 73:1: E305 expected 2 blank lines after class or function definition, found 0 Line 77:80: E501 line too long (83 > 79 characters) Line 78:34: E251 unexpected spaces around keyword / parameter equals Line 78:36: E251 unexpected spaces around keyword / parameter equals Line 79:29: E128 continuation line under-indented for visual indent Line 79:38: E251 unexpected spaces around keyword / parameter equals Line 79:40: E251 unexpected spaces around keyword / parameter equals Line 80:45: W291 trailing whitespace Line 81:29: E128 continuation line under-indented for visual indent Line 82:29: E128 continuation line under-indented for visual indent Line 83:29: E128 continuation line under-indented for visual indent Line 84:29: E128 continuation line under-indented for visual indent Line 85:29: E128 continuation line under-indented for visual indent Line 87:33: E251 unexpected spaces around keyword / parameter equals Line 87:35: E251 unexpected spaces around keyword / parameter equals Line 87:64: E251 unexpected spaces around keyword / parameter equals Line 87:66: E251 unexpected spaces around keyword / parameter equals Line 87:80: E501 line too long (82 > 79 characters) Line 91:37: E251 unexpected spaces around keyword / parameter equals Line 91:39: E251 unexpected spaces around keyword / parameter equals Line 91:61: E251 unexpected spaces around keyword / parameter equals Line 91:63: E251 unexpected spaces around keyword / parameter equals Line 99:80: E501 line too long (85 > 79 characters) Line 100:80: E501 line too long (87 > 79 characters) Line 128:1: W293 blank line contains whitespace Line 141:1: W293 blank line contains whitespace Line 146:40: W291 trailing whitespace Line 157:80: E501 line too long (90 > 79 characters)