...
https://github.com/UWARG/computer-vision-python
Software
Development setup
Follow the instructions: Autonomy Workflow Software
Install packages:
Code Block |
---|
pip install -r requirements.txt
pip install -r requirements-pytorch.txt
pip install -r modules/common/requirements.txt |
Jetson setup
Follow the instructions: Jetson
Usage
Copy the model file (.pt) into the repository.
In config.yaml
, update model_path
to point to the model file.
Activate the environment: Python Repository Autonomy Workflow Software
Enter the commands :
Code Block |
---|
git checkout main
git pull
git submodule update --remote
python -m main_2023 |
Setup Development
Follow the instructions: Python Repository
Install packages:
Code Block |
---|
pip install -r requirements.txt pip install -r requirements-pytorch.txt pip install -r modules/common/requirements.txt2024 |
If your computer does not not have CUDA support, comment out the assertion in main_2023.py add --cpu
to force the program to use the CPU:
...
Code Block | ||
---|---|---|
| ||
# CUDA check, comment out if testing on a computer without CUDA
assert torch.cuda.is_available() |
Make sure to avoid committing this change!
Setup Jetson
...
python -m main_2024 --cpu |
Other options are available. See them by using -h
.
Hardware
NVIDIA Jetson TX2i: Jetson
...