-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmodulesettings.jetson.json
More file actions
27 lines (22 loc) · 1.05 KB
/
modulesettings.jetson.json
File metadata and controls
27 lines (22 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"Modules": {
"ObjectDetectionYOLOv5-3.1": {
"LaunchSettings": {
"Runtime": "python3.8", // Jetson comes with 3.6, but this is now out of support and just fails on stuff, so 3.8 instead
"AutoStart": true
},
"EnvironmentVariables": {
"MODEL_SIZE": "Small", // small, medium, large
"USE_CUDA": "True",
// Numpy 1.19.5 issue: https://github.com/numpy/numpy/issues/18131
"OPENBLAS_CORETYPE": "ARMV8",
// OpenBLAS Warning : Detect OpenMP Loop and this application may hang. see https://github.com/OpenMathLib/OpenBLAS/blob/develop/USAGE.md
"OPENBLAS_NUM_THREADS": "1",
// Same issue, different solution: https://github.com/OpenMathLib/OpenBLAS/blob/develop/USAGE.md
"OMP_NUM_THREADS": "1",
// https://forums.developer.nvidia.com/t/error-importerror-usr-lib-aarch64-linux-gnu-libgomp-so-1-cannot-allocate-memory-in-static-tls-block-i-looked-through-available-threads-already/166494
"LD_PRELOAD": "/usr/lib/aarch64-linux-gnu/libgomp.so.1"
}
}
}
}