Update README.md
Browse files
README.md
CHANGED
@@ -33,31 +33,31 @@ You can use this model to detect objects in an image of choice. Follow the follo
|
|
33 |
|
34 |
```bash
|
35 |
# install git lfs
|
36 |
-
|
37 |
|
38 |
# if presented with the error "git: 'lfs' is not a git command. See 'git --help'", try running these linux commands:
|
39 |
-
|
40 |
|
41 |
# change directory to base
|
42 |
-
|
43 |
|
44 |
# install git-lfs
|
45 |
-
|
46 |
|
47 |
# for message "Git LFS initialized"
|
48 |
-
|
49 |
|
50 |
# change directory to yolo_v4_tflite
|
51 |
-
|
52 |
|
53 |
# clone this repo into your notebook
|
54 |
-
|
55 |
|
56 |
# Run demo tensor flow for an example of how this model works
|
57 |
-
|
58 |
|
59 |
# Try with your own image
|
60 |
-
|
61 |
|
62 |
|
63 |
```
|
|
|
33 |
|
34 |
```bash
|
35 |
# install git lfs
|
36 |
+
git lfs install
|
37 |
|
38 |
# if presented with the error "git: 'lfs' is not a git command. See 'git --help'", try running these linux commands:
|
39 |
+
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
|
40 |
|
41 |
# change directory to base
|
42 |
+
cd ..
|
43 |
|
44 |
# install git-lfs
|
45 |
+
sudo apt-get install git-lfs
|
46 |
|
47 |
# for message "Git LFS initialized"
|
48 |
+
git lfs install
|
49 |
|
50 |
# change directory to yolo_v4_tflite
|
51 |
+
cd ./yolo_v4_tflite
|
52 |
|
53 |
# clone this repo into your notebook
|
54 |
+
git clone https://huggingface.co/SamMorgan/yolo_v4_tflite
|
55 |
|
56 |
# Run demo tensor flow for an example of how this model works
|
57 |
+
python detect.py --weights ./checkpoints/yolov4-416 --size 416 --model yolov4 --image ./data/kite.jpg --output ./test.jpg
|
58 |
|
59 |
# Try with your own image
|
60 |
+
python detect.py --weights ./checkpoints/yolov4-416 --size 416 --model yolov4 --image <insert path to image of choice> --output <insert path to output location of choice>
|
61 |
|
62 |
|
63 |
```
|