From e49ceae746a97251b8a9e881dce7a596a6a2c092 Mon Sep 17 00:00:00 2001 From: Said Azizov <69383296+proton-bit@users.noreply.github.com> Date: Mon, 12 Dec 2022 14:33:12 +0300 Subject: [PATCH] update README --- README.md | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 49f7a71..c88c101 100644 --- a/README.md +++ b/README.md @@ -1,27 +1,30 @@ # Blur Artifacts Detection Detection of Blur Artifacts in Histopathological Whole-Slide Images of Endomyocardial Biopsies -# faster-rcnn +## install dependencies ``` python -m pip install -r requirements.txt +``` + +## faster-rcnn +``` cd faster_rcnn -python setup.py +git clone 'https://github.com/facebookresearch/detectron2 +python -m pip install -e detectron2 python inference.py --path2image filename.png --path2save another_filename.png ``` -# YOLOv7 +## YOLOv7 ``` -python -m pip install -r requirements.txt -cd yolov7 -python setup.py -python inference.py --path2image filename.png --path2save another_filename.png +cd yolo +git clone https://github.com/WongKinYiu/yolov7.git +python -m pip install -r yolov7/requirements.txt +python yolov7/detect.py --weights best.pt --conf 0.001 --img-size 1280 --iou-thres 0.25 --source image.png ``` -# catboost +## catboost ``` -python -m pip install -r requirements.txt -cd yolov7 -python setup.py +cd catboost python inference.py --path2image filename.png --path2save another_filename.png ```