雲コンペdiscussionまとめ

雲コンペのdiscussionを少しまとめた。

だいぶ適当

更新予定

 

Creating Masks With Magic!!

https://www.kaggle.com/c/understanding_cloud_organization/discussion/116058#latest-667901

すごいけど、スコアはまだまだ。どうやって活用できるか。

今回のマスク画像より正確かもしれないと言われているとおり、スコアを上げるという意味では関係ない

 

 

Hints from a late joiner's persepctive

https://www.kaggle.com/c/understanding_cloud_organization/discussion/114578#latest-663687

3日間で0.661行った人。

  • 後処理は必ずしも必要でない(min_size切り捨てのこと)。
  • ブーストがどこから来るか注意。真偽と真陽の寄与は異なる。(意味わからん)
  • モデルはsegのみ。clsなし

後処理なしsegのみで0.66いくらしい

 

 

Train with crops, Predict with full images

https://www.kaggle.com/c/understanding_cloud_organization/discussion/115115#latest-663084

  • 鉄コンペから学んだトリック。
  • Qubvel's GitHub segmentation modelsだとmodelのinput_shapeを(None, None,3)のように設定することで、小さいサイズで学習させたあとに大きいサイズで学習、推論できる。
  • kernelはhttps://www.kaggle.com/cdeotte/train-with-crops-lb-0-63
  • だけどscoreは0.628
  • 等倍でcropすることでサイズを小さくaugumentationできる。

等倍ならば訓練も推論も任意のサイズでいい

オリジナル画像をそのままcrop(252,512とか)して最後にオリジナル画像を推論

 

 

Some thoughts on this competition

https://www.kaggle.com/c/understanding_cloud_organization/discussion/110303#latest-643328

kernelでbestvoteの人

kernelではadam使ってる。augumentationは水平反転のみ

 

 

A trick to use bigger batches for training: gradient accumulation

https://www.kaggle.com/c/understanding_cloud_organization/discussion/105614#latest-662360

上と同じ人

  • accumulationのやり方。
  • CatalystではOptimizerCallback(accumulation_steps=n)を使う

 

 

Information: Bad image list

https://www.kaggle.com/c/understanding_cloud_organization/discussion/105359#latest-629844

  • 悪い画像
  • train画像は046586a, 1588d4c, 1e40a05, 41f92e5, 449b792, 563fc48, 8bd81ce, b092cc1, c0306e5, c26c635, e04fea3, e5f2f24, eda52f2, fa645da、これらは削除すべき
  • 他には抜くかどうか微妙な画像d821c94,24884e7,d744e88,d9989e9
  • test画像では18c7c27, 3cb4ce5, 25c5403, 43d43a8, bf4ddbb, 4375f9e, 638185f、こいつらにできることは何もない

 

 

Augmentations thred(多分threadの間違い)

 https://www.kaggle.com/c/understanding_cloud_organization/discussion/109645#latest-664479

この人が使っているaugumentationの羅列

  • 320x640にリサイズ
  • 水平/垂直反転
  • Blur
  • ShiftScaleRotate(回転移動)
  • RandomSizedCrop(クロップしてリサイズ)
  • RandomBrightness
  • RandomConstrast