kiccho1101 / kaggle_global_wheat_detection Goto Github PK
View Code? Open in Web Editor NEWMy solution for Kaggle Global Wheat Detection Competition.
My solution for Kaggle Global Wheat Detection Competition.
今まで見たことなかった画像系の動画も、このコンペのおかげで何となく分かるようになってきたので、見ていく。
Create runner.py for cross-validation.
We'd better do it by pair-programming.
Understand competition metrics
Implement calc_metrics function
mlflow
hydra
現実の範囲内であり得るAugmentationをやりまくる
↓良さげなNotebook
effdetのバージョンをアップデートすると、eval時の引数が変更されているのでエラーになる件。
https://www.kaggle.com/angqx95/training-updated-version-efficientdet
このノートブックに対処法が書いてありそう
When running notebook/cv.ipynb
, we got a following error.
Fitter prepared. Device is cpu
2020-07-12T22:45:16.055624
LR: 0.0002
Train Step 0/675, summary_loss: 0.00000, time: 0.26056
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-4-42e71780afd2> in <module>
20 )
21
---> 22 fitter.fit(train_loader, valid_loader)
~/Documents/src/github.com/kiccho1101/kaggle_global_wheat_detection/src/factories/fitter.py in fit(self, train_loader, valid_loader)
59
60 start = time.time()
---> 61 summary_loss = self._train_one_epoch(train_loader)
62
63 self.log(
~/Documents/src/github.com/kiccho1101/kaggle_global_wheat_detection/src/factories/fitter.py in _train_one_epoch(self, train_loader)
109 self.optimizer.zero_grad()
110
--> 111 loss, _, _ = self.model(images, bboxes, labels)
112 loss.backward()
113 summary_loss.update(loss.detach().item(), batch_size)
~/.local/share/virtualenvs/kaggle_global_wheat_detection-Hxp-F21z/lib/python3.8/site-packages/torch/nn/modules/module.py in __call__(self, *input, **kwargs)
548 result = self._slow_forward(*input, **kwargs)
549 else:
--> 550 result = self.forward(*input, **kwargs)
551 for hook in self._forward_hooks.values():
552 hook_result = hook(self, input, result)
TypeError: forward() takes 3 positional arguments but 4 were given
https://www.kaggle.com/nvnnghia/fasterrcnn-pseudo-labeling
ライセンス問題、結果よくわからんのでDiscussionで読んだスクショを貼ってく
[1] https://papers.nips.cc/paper/9035-fixing-the-train-test-resolution-discrepancy
[2] https://openaccess.thecvf.com/content_ICCV_2019/papers/Yun_CutMix_Regularization_Strategy_to_Train_Strong_Classifiers_With_Localizable_Features_ICCV_2019_paper.pdf
[3] https://papers.nips.cc/paper/9259-consistency-based-semi-supervised-learning-for-object-detection.pdf
[4] https://ai-scholar.tech/articles/treatise/noisy-student-ai-379
[5] https://openaccess.thecvf.com/content_CVPR_2019/html/Cubuk_AutoAugment_Learning_Augmentation_Strategies_From_Data_CVPR_2019_paper.html
https://www.kaggle.com/c/global-wheat-detection/discussion/167554
データセットがYoloV3を使ってアノテーションされたため??
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.