-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase Flake8 and reconcile Pylint and Pytest
- Loading branch information
Showing
16 changed files
with
288 additions
and
227 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,12 +4,11 @@ | |
|
||
# Python | ||
__pycache__/ | ||
.pytest_cache/ | ||
venv/ | ||
|
||
# Logging | ||
logs/ | ||
|
||
# Pytorch and Ultralytics | ||
*.pt | ||
*.pth | ||
|
||
# Logging | ||
*log* |
Empty file.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
# Global constants for main with cuda | ||
# Global constants for main with CUDA | ||
|
||
queue_max_size: 10 | ||
|
||
log_directory_path: "logs" | ||
|
||
video_input: | ||
camera_name: 0 | ||
worker_period: 1.0 # seconds | ||
worker_period: 1.0 # seconds | ||
save_prefix: "log_image" | ||
|
||
detect_target: | ||
worker_count: 1 | ||
device: 0 | ||
model_path: "tests/model_example/yolov8s_ultralytics_pretrained_default.pt" # TODO: update | ||
model_path: "tests/model_example/yolov8s_ultralytics_pretrained_default.pt" # TODO: update | ||
save_prefix: "log_comp" | ||
|
||
flight_interface: | ||
address: "tcp:127.0.0.1:14550" | ||
timeout: 10.0 # seconds | ||
worker_period: 0.1 # seconds | ||
timeout: 10.0 # seconds | ||
worker_period: 0.1 # seconds |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
# Packages listed in alphabetical order | ||
# Linters and formatters are explicitly versioned | ||
black==24.2.0 | ||
flake8-annotations==3.0.1 | ||
numpy | ||
opencv-python | ||
pylint==3.0.3 | ||
pymap3d | ||
pytest | ||
pyyaml | ||
scikit-learn | ||
# pytorch special case, see requirements-pytorch.txt | ||
|
||
# Linters and formatters are explicitly versioned | ||
black==24.2.0 | ||
flake8-annotations==3.0.1 | ||
pylint==3.0.3 |
This file contains 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
Oops, something went wrong.