Created
September 28, 2023 12:00
-
-
Save davyneven/998561399beb793c185a6c70d73ec8fd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # infer results on validation set | |
| CONFIDENCE = 0.4 | |
| !sed -i "s/inferer = Inferer(source, weights, device, yaml, img_size, half)/inferer = Inferer(source, False, None, weights, device, yaml, img_size, half)/g" ./tools/infer.py | |
| !python tools/infer.py --weights ./runs/train/exp/weights/best_ckpt.pt --source "{project_location}/images/val" --conf-thres $CONFIDENCE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment