Skip to content

Commit b5e685a

Browse files
committedDec 3, 2024
Fixed wrong comments
1 parent 2b96842 commit b5e685a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Optionally, set the `--delay` argument to prevent going over the throttling limi
7272

7373
### Evaluate the Detector
7474

75-
To evaluate the ML model performance for a detector, simply run the script `evaluate-accuracy.py` with the following arguments:
75+
To evaluate the ML model performance for a detector, simply run the script `evaluate.py` with the following arguments:
7676

7777
```bash
7878
poetry run python evaluate.py --detector-id YOUR_DETECTOR_ID --dataset PATH_TO_DATASET_TEST_FOLDER

‎train.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def upload_image(gl: Groundlight, detector: Detector, image: PIL, label: str) ->
3737
if label not in ["YES", "NO"]:
3838
raise ValueError(f"Invalid label: {label}, must be 'YES' or 'NO'.")
3939

40-
# Use ask_ml to upload the image and then add the label to the image query
40+
# Use ask_async to upload the image and then add the label to the image query
4141
iq = gl.ask_async(detector=detector, image=image)
4242
gl.add_label(image_query=iq, label=label)
4343

0 commit comments

Comments
 (0)
Please sign in to comment.