kaggle train
最好是commit,因为kaggle 不支持断点resume notebook 同时 选择 save outputs
detectron2 升级
为支持AMP(Automatic Mixed Precision),加快训练速度,需升级detectron2 到0.3. 一开始因为网络慢,pip 换源也还是慢,就手动下载安装,发现不兼容 最好去pytorch 官网下载更快
- pip install torch==1.7.0+cu101 torchvision==0.8.1+cu101 torchaudio==0.7.0 -f download.pytorch.org/whl/torch_s…
- python -m pip install detectron2==0.3 -f
dl.fbaipublicfiles.com/detectron2/…
faster_rcnn_X_101_32x8d_FPN_3x
在 Image Classification 任务上比 efficient net b4差不少.
是我太天真了,Object Detection 的任务还是和Image Classification还是有不少差别和侧重点的。
github.com/rwightman/p…
loss最小的 weights 就是最佳模型吗?
这个完全是思维误区,最近才发现并不是这样的。 通过loss 去选取模型是不可靠的。 通过验证集的指标去找才比较科学。 这个issue 提醒了我。 github.com/facebookres…