IceVision
Quick Fact :
- https://airctic.com/0.12.0/install/
- It wraps up fastai, pytorch lightning
-
Its unified API allow to choose libraries → their models → their backbones
Prerequisite Knowledge :
Basic knowledge of
- Fastai / Pytorch Lightning
- YOLO
Frequent Issue :
-
Issue - Icevision is suck on dependencies, the functional env so far :
-
issue - how to do inference with the exported model ?
- i.e. how to load trained checkpoints
-
option 1 - official inference method
model_from_checkpoint
-
weird, need to install mmcv-full even if you use yolo5:
-
-
option 2 - use fastai / torch to load them manually
-
issue - training or data loader hanged locally (CPU)
- because CPU env lead to deadlock
- https://github.com/pytorch/pytorch/issues/1355
- You need to set num of workers to 0
-
issue - images / plot not showing
- you need to put
%matplotlib inline
or others in the top of notebook - https://github.com/matplotlib/matplotlib/issues/14534
- you need to put
-
issue - about “image truncated”, below code can solve it