- Run inference.py script to test resnext101_32x4d model:
python3 inference.py
Default image for classification is data/cat.jpg. To specify the image use --path_img key:
python3 inference.py --path_img data/croco.jpg
- Run unit tests (described in utest_inference.py) to test classifier results in the following way:
python3 -m unittest test.utest_inference -v