Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timf34/jetsonconfig
https://github.com/timf34/jetsonconfig
Last synced: about 4 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/timf34/jetsonconfig
- Owner: timf34
- Created: 2023-06-27T14:28:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-13T12:29:51.000Z (5 months ago)
- Last Synced: 2024-06-13T15:08:37.286Z (5 months ago)
- Language: Python
- Size: 50.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JetsonConfig
---
- [ ] TODO: integrate notes from `interactive_setup.md` into this file!
- [ ] TODO: Add notes on git creds (its in the notion, but not here)**Temp command for installing jetson-inference... I'll integrate this properly soon**
```bash
cd ~/Desktop && \
sudo bash -c 'apt-get update && \
apt-get install -y git cmake && \
git clone --recursive --depth=1 https://github.com/timf34/jetson-inference && \
cd jetson-inference && \
mkdir build && \
cd build && \
cmake ../ && \
make -j$(nproc) && \
make install && \
ldconfig'
```---
This repo contains scripts for setting up the Jetsons initially.
`initial_jetson_setup.sh`
- Downloads packages and clones repos needed for the Jetson
`set_env_vars.sh`
- Sets environment variables. **Note that we need to manually write these for each Jetson rn**`requirements.txt`
- General pip requirements for the Jetson### Running
**See the `interactive_setup.md` file for stuff that needs to be done before and after running `initial_jetson_setup.sh`**
`set_env_vars.sh`
- Be sure to change the variables!
- Note that this script needs sudo priviledges!
Run the following to run this script:
```bash
chmod +x set_env_vars.sh
./set_env_vars.sh
```And note that I can run this so I don't have to reboot the Jetson for the env variable to take place:
`export DEVICE_NAME="marvel-fov-2"``initial_jetson_setup.sh`:
```
chmod +x initial_jetson_setup.sh
./initial_jetson_setup.sh
```### Notes
When I run `initial_jetson_setup.sh` I'll need to input the following:
- Github username and PAT (I should run the github storing thing beforehand so it remembers these)
Note: I'm not sure if pip installing the requirements.txt file is working correctly, so I might need to
run `pip3 install -r requirements.txt` manually too.