Skip to content

Refactor configs directory - #117

Merged
Sarah5567 merged 5 commits into
mainfrom
refactor-configs-directory
Nov 10, 2025
Merged

Sarah5567 merged 5 commits into
mainfrom
refactor-configs-directory

Conversation

@Sarah5567

Copy link
Copy Markdown
Collaborator

Task Summary

Refactor the existing src/configs/ directory by moving it to the root-level configs/ directory.
Rename labels.txt to a more descriptive name based on its label contents.
Ensure all imports, paths, and documentation are updated accordingly.
Verify both pre-refactored and refactored scripts produce identical outputs (logs, files, and results).

closes #107

@Sarah5567 Sarah5567 linked an issue Nov 10, 2025 that may be closed by this pull request
Comment thread configs/mobilenet.txt Outdated
onnx-file=/workspace/models/onnx/mobilenet.onnx
model-engine-file=/workspace/deepstream_engines/mobilenet.engine
labelfile-path=/workspace/src/configs/labels.txt
labelfile-path=/workspace/configs/plant_labels.txt

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the "plant_labels" name - but wouldn't it be better to use the dataset-specific name? E.g., crop_and_weed_XX_classes?

@Sarah5567
Sarah5567 merged commit b283156 into main Nov 10, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor /src/configs directory

2 participants