toandaominh1997 / EfficientDet.Pytorch

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

update URL mapping and add advprop pretrain models #111

Open Cyril9227 opened 4 years ago

Cyril9227 commented 4 years ago

@toandaominh1997 thank's for your amazing work.

However the URL links are broken, this PR fixes the URL mapping and also provides the option to load pretrained models using adversarial training, called advprop, see luke melas implementation.

Also modified docstrings and comments in efficientnet.py so they reflect better what the code is actually doing (it was previously a copy paste from another repo) and made few changes so the code stay consistent with the new available weights.

The project should be operational with those changes.

pep8speaks commented 4 years ago

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

Line 49:1: W293 blank line contains whitespace Line 180:80: E501 line too long (82 > 79 characters) Line 194:80: E501 line too long (88 > 79 characters) Line 216:80: E501 line too long (121 > 79 characters) Line 228:80: E501 line too long (89 > 79 characters) Line 250:68: W291 trailing whitespace

Line 307:80: E501 line too long (110 > 79 characters) Line 308:80: E501 line too long (110 > 79 characters) Line 309:80: E501 line too long (110 > 79 characters) Line 310:80: E501 line too long (110 > 79 characters) Line 311:80: E501 line too long (110 > 79 characters) Line 312:80: E501 line too long (110 > 79 characters) Line 313:80: E501 line too long (110 > 79 characters) Line 314:80: E501 line too long (110 > 79 characters) Line 319:80: E501 line too long (115 > 79 characters) Line 319:116: W291 trailing whitespace Line 320:80: E501 line too long (115 > 79 characters) Line 321:80: E501 line too long (115 > 79 characters) Line 322:80: E501 line too long (115 > 79 characters) Line 323:80: E501 line too long (115 > 79 characters) Line 324:80: E501 line too long (115 > 79 characters) Line 325:80: E501 line too long (115 > 79 characters) Line 326:80: E501 line too long (115 > 79 characters) Line 327:80: E501 line too long (115 > 79 characters) Line 342:80: E501 line too long (107 > 79 characters)

Comment last updated at 2020-01-28 07:51:51 UTC
JVGD commented 4 years ago

Please merge this, I am having the same problem. By the way, thank you @Cyril9227