# PixProコード改良
- [x] 変わらないはずの変更
- [x] wandb追加 -> 1
<!-- - [ ] データ拡張をすべてtorchvisionベース(tensorに対するデータ拡張)に変更 -->
- [x] データ拡張のCompose関数変更
- [x] 2枚のデータ拡張後の画像を出力するように変更 -> 2
- BDDで画像を2枚入力していることを念頭においている
- この関数内で異なるデータ拡張を行えるようにすれば、2枚以上入力としたとき動作しやすそうと思い、実装
- 実際には使用しない
- 画像が2枚以上でも入力として受け取れるように変更
- OFの計算を見越して
- 実際には1枚だけ入力
- データ拡張も2つ分あれば2つ分引数としては渡す
- [x] データローダー
- [x] データ拡張から一気に2枚の画像を受け取るように変更 -> 3
- データ拡張の関数として追加
- 画像を2枚まとめて入力するように変更
- [x] データ拡張のCompose関数変更2
- [x] 座標の追加 -> 4
- 初期座標と初期マスクを計算するように変更
- その初期座標からデータ拡張後の座標を計算
- データ拡張後の座標からもとに戻したあとの座標も計算
- データ拡張・loss計算には使わない
- 修正点
- 運良く影響がなかったが、1枚目の座標から2枚目の座標を計算してしまうところだった点を修正
- 実際には2枚目の座標系が計算されていないという状況になっていた
- [ ] 結果が変わるかもしれない変更(ホントは変わらないはず)
- [x] データローダー周り
- [x] 座標を用いてデータ拡張 -> 5
- 計算した座標からデータ拡張を計算
- 出力する座標はもとの上の左、右、下の左、下の右のまま
- 変わってしまった。。
- データ拡張修正中
- Cropの座標計算式を修正
- 通常のデータ拡張と同じになることは画像にして確認済み
- リサイズも含めても同じになることを確認済み -> [データ拡張の可視化確認](#データ拡張の可視化確認)
- 修正の種類
- (5.1) Cropの座標計算式のみ -> x
- 座標のshapeは元画像と同じでその後、クロップのサイズに変更することは行っていない状態
- (5.2) Cropの座標計算式+座標のshapeは元画像と同じで、最後にサイズをクロップサイズと同じに変更 -> o
- (5.3) Cropの座標計算式+座標のshapeをcropした際のサイズと一致 -> o
- 5.3で進める
- [ ] 一旦5.3, 5.2から再スタート
- 元々のpixproの計算が中心座標を計算しているので、中心座標を計算する処理を追加
- 結果、その座標を使ってgrid sample(もちろんalign_corner=Falseにして)してデータ拡張すると、スコアが下がるので、元のコーナー座標を計算するものにする。
- [x] [(6'.0)](https://github.com/rioyokotalab/PixPro/tree/9724222df6c83b87c5369fe02041cfdad48a4a6c) mpirunを使うコードがもともとのコードをほぼそのまま使えるようにmain関数を関数化 (9724222)
- [x] [(6'.1)](https://github.com/rioyokotalab/PixPro/tree/a0fcacf0643a22cc96160bdc1be095d274dd41c8) deviceの設定を修正 (a0fcacf)
- [x] (6'.2.0) (5.3)の方式で、座標計算を中心座標を計算するように変更するための条件式を追加(実際にはこーな座標を計算) (8b340fc)
- [x] (6'.2.1) (5.3)の方式で、座標計算を中心座標を計算するように変更 (8b340fc)
- [x] (6'.3) 対数化表示できるようにlossに4足して、正の値にしたlossのログを取るようにした(座標はコーナー計算) (ca425e2)
- [x] (6'.3.1) 対数化表示できるようにlossに4足して、正の値にしたlossのログを取るようにした(座標は中心座標計算) (ca425e2)
- [x] (6'.4.0) (5.2)の方式での計算するためのオプションを追加(計算は(5.3)方式のまま) (1965bd3)
- [x] (6'.4.1) (5.2)の方式での計算するためのオプションを追加(計算は(5.3)方式のままで中心座標を計算) (1965bd3)
- [x] (6'.4.2) (5.2)の方式での計算 (1965bd3)
- [x] ~~(6'.4.3) (5.2)の方式で、座標計算を中心座標を計算するように変更 (1965bd3)~~
- [x] (7') 対角線成分を計算する処理を関数化 (~~40e4650~~, 03adab8)
- [x] (7'.1) 座標に関して、データローダーからの出力結果をそのまま利用するためのloss関数追加 (30f44b5)
- [x] (7'.2) 座標に関して、データローダーからの出力結果をそのまま利用 (2fd9097) -> 少し下がった
- [x] (7'.2.1) 中心座標での座標計算 -> 少し下がった
- 8/5のアドバイスで閾値をスケールに合わせていないことが原因のようであることが分かった。 -> 閾値を2倍の1.4にした。
- [ ] (7'.3) 閾値を0.7から1.4へ
- [ ] (7'.3.1) 中心座標での計算
- [x] loss関数周り
- [x] 対角線成分を計算する処理を関数化 -> 6
- 7でその計算を使いたいため
- [x] deviceの設定を修正 -> 6.1
- [x] (mpirunを使うコードがもともとのコードをほぼそのまま使えるようにmain関数を関数化) -> 6.2
- [x] 座標に関して、データローダーからの出力結果をそのまま利用 -> 7
- 計算した座標を出力する
- loss計算時に座標に関しては計算しない
- あくまでも変更しないように対角線の計算などはそのまま使う
- [x] (mpirunを使うコードがもともとのコードをほぼそのまま使えるようにmain関数を関数化) -> 7.1
- [ ] 結果が変わる変更
- [x] loss関数周り -> x -> 対角線は6のものをそのまま使う
- [x] 対角線の計算は行わずにlossを計算 -> 8
- OFを追加すると対角線の定義は不可能
- 対角線で距離を正規化していたが、それができないので、無理やり特徴空間の対角線で正規化する
- おそらく結果は変わるが、スコアが下がらなければおーけ
- 下がった。。
- [ ] OFの追加 -> 9
- [ ] 関数群を追加するだけ -> 9.0
- [ ] 本当に適用 -> 9.1
- 出力した座標の値からPixProのデフォルト通り距離を計算する(高次元の範囲内の点についてのlossを計算)
- [ ] (loss関数の変更 -> 10)
- 1対1対応にする
## 変わらないはずの変更, 結果が変わるかもしれない変更(ホントは変わらないはず)
| status 表示名 | 意味 | 補足 |
| :-: | :-: | :-: |
| F | 実行済み | Finishの頭文字 |
| R | 実行中 | Runnigの頭文字 |
| J | 実行待ち | jobスケジューリング待ち |
| P | pretrainの実行待ち (SS statusのみ) | Waitingとしたかったが、WIPと同じになるので、Waiting PretrainのPをとった |
| W | コード書き換え中 or 作業中 | Work In Progressの頭文字 |
すべて100epoch学習した際の途中の10epochでの結果
| 変更点 | pre-dataset | aug | bs | crop size | loss type | head sim | mIOU | status (pretrain) | status (ss train) |
| :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: |
|(default) | BD | BYOL | 1024(128\*8) | 224x224 | pixpro | o | 36.69 | F | F |
| --- |BD | BYOL | 128(2\*64) | 224x224 | pixpro | o | 42.54 | F | F |
| [---](https://wandb.ai/tomotakah6/PixPro/runs/syg0oqc4) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [43.72](https://wandb.ai/tomotakah6/detectron2/runs/3rxu3vnc) | F | F |
| --- | BD | BYOL | 128(16\*8) | 224x224 | floweloss | x | 32.54 | F | F |
| - | - | - | - | - | - | - | - | - | - |
| 1 | BD | BYOL | 1024(128\*8) | 224x224 | pixpro | o | 37.38 (flow, flow) | F | F |
| 1 | BD | BYOL | 1024(128\*8) | 224x224 | pixpro | o | 37.55 (flow, ylab) | F | F |
| 1 | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | 42.77 | F | F |
| 2 | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | 42.67 | F | F |
| 3 | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | 40.79 | F | F |
| 3 | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | 43.17 (2回目) | F | F |
| 4 | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | 43.06 | F | F |
| 4 | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | 42.82 (コード修正後) | F | F |
| 5 | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | 24.23 | F | F |
| 5.1 | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | 37.01 (abci,abci) | F | F |
| 5.2 | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | 43.74 (abci,abci) | F | F |
| 5.3 | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | 43.46 (abci,abci) | F | F |
| 5.3 | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | 43.19 (abci,ylab) | F | F |
| [6'.0](https://wandb.ai/tomo/PixPro/runs/27my8viy?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [42.84](https://wandb.ai/tomo/detectron2/runs/3bhrk2b4?workspace=user-tomo) | F | F |
| [6'.0](https://wandb.ai/tomo/PixPro/runs/2k9f72hf?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [42.18 (tsubame,tsubame)](https://wandb.ai/tomo/detectron2/runs/282b058c?workspace=user-tomo) | F | F |
| [6'.1](https://wandb.ai/tomo/PixPro/runs/axrnk6rm?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [41.08](https://wandb.ai/tomo/detectron2/runs/18myjjd3?workspace=user-tomo) | F | F |
| [6'.1](https://wandb.ai/tomo/PixPro/runs/1rbh1f2j?workspace=user-tomo) (2回目) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [43.10](https://wandb.ai/tomo/detectron2/runs/1gxojli5?workspace=user-tomo) | F | F |
| [6'.1](https://wandb.ai/tomo/PixPro/runs/3emj0s2w?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [43.53 (tsubame,tsubame)](https://wandb.ai/tomo/detectron2/runs/1iq0cf0m?workspace=user-tomo) | F | F |
| [6'.2.0](https://wandb.ai/tomo/PixPro/runs/2s7mkhet?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [42.80](https://wandb.ai/tomo/detectron2/runs/27tgfgar?workspace=user-tomo) | F | F |
| [6'.2.0](https://wandb.ai/tomo/PixPro/runs/2s7mkhet?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [42.91](https://wandb.ai/tomo/detectron2/runs/c39zbm3d?workspace=user-tomo) (2回め) | F | F |
| [6'.2.0](https://wandb.ai/tomo/PixPro/runs/ej85dmxi?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [42.76 (tsubame,tsubame)](https://wandb.ai/tomo/detectron2/runs/2pvro4b0?workspace=user-tomo) | F | F |
| [6'.2.1](https://wandb.ai/tomo/PixPro/runs/3jwwft1t?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [42.07](https://wandb.ai/tomo/detectron2/runs/3ir9l2ki?workspace=user-tomo) | F | F |
| [6'.2.1](https://wandb.ai/tomo/PixPro/runs/3lcimpp0?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [42.62 (tsubame,tsubame)](https://wandb.ai/tomo/detectron2/runs/31e6kiow?workspace=user-tomo) | F | F |
| [6'.3](https://wandb.ai/tomo/PixPro/runs/sygisjdb?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [43.74](https://wandb.ai/tomo/detectron2/runs/l628q3v9?workspace=user-tomo) | F | F |
| [6'.3](https://wandb.ai/tomo/PixPro/runs/b8m49zvn?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [42.80 (tsubame,tsubame)](https://wandb.ai/tomo/detectron2/runs/odkhzwm2?workspace=user-tomo) | F | F |
| [6'.3.1](https://wandb.ai/tomo/PixPro/runs/1t43d3c9?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [41.54](https://wandb.ai/tomo/detectron2/runs/2v5zvat2?workspace=user-tomo) | F | F |
| [6'.3.1](https://wandb.ai/tomo/PixPro/runs/6qqv6nts?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [42.14 (tsubame,tsubame)](https://wandb.ai/tomo/detectron2/runs/98v8cvy2?workspace=user-tomo) | F | F |
| [6'.4.0](https://wandb.ai/tomo/PixPro/runs/2hb70wgj?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [41.25 (tsubame,tsubame)](https://wandb.ai/tomo/detectron2/runs/2q7ndlo8?workspace=user-tomo) | F | F |
| [6'.4.0](https://wandb.ai/tomo/PixPro/runs/9nrhn435?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [42.44](https://wandb.ai/tomo/detectron2/runs/1if6pjb4?workspace=user-tomo) | F | F |
| [6'.4.1](https://wandb.ai/tomo/PixPro/runs/2bbtlowo?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [42.30](https://wandb.ai/tomo/detectron2/runs/1ah1z2b4?workspace=user-tomo) | F | F |
| [6'.4.1](https://wandb.ai/tomo/PixPro/runs/1i8xju2n?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [41.66 (tsubame,tsubame)](https://wandb.ai/tomo/detectron2/runs/3km0kxmn?workspace=user-tomo) | F | F |
| [6'.4.1](https://wandb.ai/tomo/PixPro/runs/2tpb0bk1?workspace=user-tomo) (2回目) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [42.57 (tsubame,tsubame)](https://wandb.ai/tomo/detectron2/runs/1e0s3iiz?workspace=user-tomo) | F | F |
| [6'.4.2](https://wandb.ai/tomo/PixPro/runs/32h8zwab?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [43.07](https://wandb.ai/tomo/detectron2/runs/3owk7g5d?workspace=user-tomo) | F | F |
| [6'.4.3](https://wandb.ai/tomo/PixPro/runs/i8k1ston?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [42.50](https://wandb.ai/tomo/detectron2/runs/2uf2gt3s?workspace=user-tomo) | F | F |
| 6 | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | 42.76 | F | F |
| 6 | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | 42.29 (tsubame,tsubame) | F | F |
| 6 | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | 42.10 (tsubame,tsubame,2回目) | F | F |
| 6.1 | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | 41.06 (abci,abci) | F | F |
| 6.1 | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | 41.87 (abci,abci,2回目) | F | F |
| 6.2 | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | 41.86 | F | F |
| 6.2 | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | 41.23 (2回目) | F | F |
| [7'(6'.4.2)](https://wandb.ai/tomo/PixPro/runs/1lp7ipkd?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [42.56](https://wandb.ai/tomo/detectron2/runs/2e8jmdu5?workspace=user-tomo) | F | F |
| [7'](https://wandb.ai/tomo/PixPro/runs/3e95r0o0?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [42.04](https://wandb.ai/tomo/detectron2/runs/3h8fxsb2?workspace=user-tomo) | F | F |
| [7'](https://wandb.ai/tomo/PixPro/runs/1rwqdsse?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [43.83 (tsubame,tsubame)](https://wandb.ai/tomo/detectron2/runs/2bbtci09?workspace=user-tomo) | F | F |
| [7'](https://wandb.ai/tomo/PixPro/runs/1rwqdsse?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [43.38 (2回目, tsubame,tsubame)](https://wandb.ai/tomo/detectron2/runs/117a0ha7?workspace=user-tomo) | F | R |
| [7'.1](https://wandb.ai/tomo/PixPro/runs/3f5xao77?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [41.44](https://wandb.ai/tomo/detectron2/runs/y2ep9cg1?workspace=user-tomo) | F | F |
| [7'.1](https://wandb.ai/tomo/PixPro/runs/3f5xao77?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [40.91 (2回目)](https://wandb.ai/tomo/detectron2/runs/thiw3ka3?workspace=user-tomo) | F | F |
| [7'.1](https://wandb.ai/tomo/PixPro/runs/3f5xao77?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [41.17 (3回目)](https://wandb.ai/tomo/detectron2/runs/2aeo9uhc?workspace=user-tomo) | F | F |
| [7'.1](https://wandb.ai/tomo/PixPro/runs/2laqfzcd?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [43.31 (tsubame,tsubame)](https://wandb.ai/tomo/detectron2/runs/27fbkj7d?workspace=user-tomo) | F | F |
| [7'.1](https://wandb.ai/tomo/PixPro/runs/2laqfzcd?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [43.11 (2回目,tsubame,tsubame)](https://wandb.ai/tomo/detectron2/runs/xs0xzdjk?workspace=user-tomo) | F | F |
| [7'.1](https://wandb.ai/tomo/PixPro/runs/2laqfzcd?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [42.61 (3回目,tsubame,tsubame)](https://wandb.ai/tomo/detectron2/runs/3b3a2thv?workspace=user-tomo) | F | F |
| [7'.2](https://wandb.ai/tomo/PixPro/runs/12w6h75t?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [41.05](https://wandb.ai/tomo/detectron2/runs/td5g8iaw?workspace=user-tomo) | F | F |
| [7'.2 (2回目)](https://wandb.ai/tomo/PixPro/runs/3lsb0664) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [43.19](https://wandb.ai/tomo/detectron2/runs/ac0exzgs) | F | F |
| [7'.2](https://wandb.ai/tomo/PixPro/runs/1g5t8nre?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [41.24 (tsubame,tsubame)](https://wandb.ai/tomo/detectron2/runs/25bhovxe?workspace=user-tomo) | F | F |
| [7'.2](https://wandb.ai/tomo/PixPro/runs/1g5t8nre?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [41.27 (2回目,tsubame,tsubame)](https://wandb.ai/tomo/detectron2/runs/6ec1luos?workspace=user-tomo) | F | F |
| [7'.2.1](https://wandb.ai/tomo/PixPro/runs/8ffac8xk?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [41.52](https://wandb.ai/tomo/detectron2/runs/2jsf8ai8?workspace=user-tomo) | F | F |
| [7'.2.1](https://wandb.ai/tomo/PixPro/runs/3l1myq78?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [41.41 (tsubame, tsubame)](https://wandb.ai/tomo/detectron2/runs/1z1f3muf?workspace=user-tomo) | F | R |
| [7'.2.1](https://wandb.ai/tomo/PixPro/runs/3l1myq78?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [41.40 (2回目,tsubame, tsubame)](https://wandb.ai/tomo/detectron2/runs/2eo5nmsn?workspace=user-tomo) | F | F |
| [7'.3](https://wandb.ai/tomo/PixPro/runs/2cga6y77?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [42.84](https://wandb.ai/tomo/detectron2/runs/1q0f77sy?workspace=user-tomo) | F | F |
| [7'.3](https://wandb.ai/tomo/PixPro/runs/2cga6y77?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [42.73 (2回目)](https://wandb.ai/tomo/detectron2/runs/2jq9uo4s?workspace=user-tomo) | F | F |
| [7'.3](https://wandb.ai/tomo/PixPro/runs/2cga6y77?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [42.78 (3回目)](https://wandb.ai/tomo/detectron2/runs/30cb9nli?workspace=user-tomo) | F | J |
| [7'.3](https://wandb.ai/tomo/PixPro/runs/w839ijwg?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [42.12 (tsubame,tsubame)](https://wandb.ai/tomo/detectron2/runs/2utbznmf?workspace=user-tomo) | F | F |
| [7'.3.1](https://wandb.ai/tomo/PixPro/runs/2c1ndowl?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [43.07](https://wandb.ai/tomo/detectron2/runs/rvxcvduh?workspace=user-tomo) | F | F |
| [7'.3.1](https://wandb.ai/tomo/PixPro/runs/3dygxgzr?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [42.18 (tsubame,tsubame)](https://wandb.ai/tomo/detectron2/runs/2zkt7jgw?workspace=user-tomo) | F | F |
| 7 | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | 41.67 (abci,abci) | F | F |
| 7 | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | 41.28 (abci,abci,2回目) | F | F |
| 7 | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | 40.12 | F | F |
| 7.1 | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | 40.99 | F | F |
| 7.1 | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | 41.34 (2回目) | F | F |
| - | - | - | - | - | - | - | - | - | - |
| 8 | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | 32.48 (tsubame, tsubame) | F | F |
| [9.0](https://wandb.ai/tomo/PixPro/runs/1n0j6px6?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [41.60](https://wandb.ai/tomo/detectron2/runs/2lhhoemt?workspace=user-tomo) | F | F |
| [9.0_O0](https://wandb.ai/tomo/PixPro/reports/PixPro--VmlldzoyNDA0MTE0#9.0-(tsubame,-o1修正前)) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [42.79 (tsubame,tsubame)](https://wandb.ai/tomo/detectron2/runs/2ofjyjsj?workspace=user-tomo) | F | P |
| [9.0](https://wandb.ai/tomo/PixPro/reports/PixPro--VmlldzoyNDA0MTE0#9.0-(tsubame,-o1修正後)) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [41.15](https://wandb.ai/tomo/detectron2/runs/2upco6l6?workspace=user-tomo) | F | F |
| [9.1](https://wandb.ai/tomo/PixPro/runs/mze3capv?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [40.72](https://wandb.ai/tomo/detectron2/runs/17skfuj7?workspace=user-tomo) | F | F |
| [9.1](https://wandb.ai/tomo/PixPro/reports/PixPro--VmlldzoyNDA0MTE0#9.1-(tsubame)) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [40.55 (tsubame,tsubame)](https://wandb.ai/tomo/detectron2/runs/28wvxtsi?workspace=user-tomo) | F | F |
### bdd100k
| 変更点 | pre-dataset | aug | bs | crop size | loss type | head sim | mIOU | status (pretrain) | status (ss train) |
| :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: |
|(default) | BD | BYOL | 1024(128\*8) | 224x224 | pixpro | o | 29.95 | F | F |
| - | BD | BYOL | 128(2\*64) | 224x224 | pixpro | o | [33.35](https://wandb.ai/tomo/detectron2/runs/2vt64wqs?workspace=user-tomo) | F | R |
| - | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [34.10](https://wandb.ai/tomo/detectron2/runs/33t31o1d?workspace=user-tomo) | F | R |
| - | BD | BYOL | 128(16\*8) | 224x224 | floweloss | x | [28.25](https://wandb.ai/tomo/detectron2/runs/1ni9beqi?workspace=user-tomo) | F | R |
| - | - | - | - | - | - | - | - | - | - |
| [7'](https://wandb.ai/tomo/PixPro/runs/1rwqdsse?workspace=user-tomo) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [33.41 (tsubame,tsubame)](https://wandb.ai/tomo/detectron2/runs/3sz0s8rr?workspace=user-tomo) | F | R |
## 100epoch
| 変更点 | pre-dataset | aug | bs | crop size | loss type | head sim | mIOU | status (pretrain) | status (ss train) |
| :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: |
| [7'.2](https://wandb.ai/tomo/PixPro/runs/3lsb0664) | BD | BYOL | 128(16\*8) | 224x224 | pixpro | o | [46.6510](https://wandb.ai/tomo/detectron2/runs/2sfiv2nk) | F | F |
## データ拡張の可視化確認
<table>
<tr>
<th></th>
<th colspan="2">1動画目</th>
<th colspan="2">2動画目</th>
</tr>
<tr>
<th></th>
<th>1フレーム目</th>
<th>2フレーム目</th>
<th>1フレーム目</th>
<th>2フレーム目</th>
<th>補足説明</th>
</tr>
<tr>
<td>元画像 (224x224)</td>
<td COLSPAN="4" ROWSPAN="4"><img src="https://i.imgur.com/hsX4HiP.png"></td>
<td>720x1280の縦横比を保ちながら足りない分はpadで埋めたもの</td>
</tr>
<tr>
<td>公式実装のデータ拡張</td>
<td nowrap> 座標を使わずに通常の方法でデータ拡張したもの(座標を使ったデータ拡張が正しいかの確認用の画像)</td>
</tr>
<tr>
<td>座標を使ったデータ拡張</td>
<td>224x224の座標を使ってデータ拡張した後、元画像と同じように縦横比を保って224x224にリサイズしたもの</td>
</tr>
<tr>
<td>座標を使ったデータ拡張</td>
<td>224x224の座標を使ってデータ拡張した後、単純に224x224にリサイズしたもの</td>
</tr>
</table>