forked from Karenw1004/Deeppicar-v3
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathparams.py
40 lines (35 loc) · 1.38 KB
/
params.py
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
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/env python
##########################################################
# camera module selection
# "camera-webcam" "camera-null"
##########################################################
camera="camera-webcam"
# URL="http://192.168.4.1"
##########################################################
# actuator selection
# "actuator-drv8835", "actuator-adafruit_hat"
# "actuator-null" "actuator-servo-deepracer"
##########################################################
actuator="actuator-servo-deepracer"
##########################################################
# intputdev selection
# "input-kbd", "input-joystick", "input-web"
##########################################################
inputdev="input-kbd"
##########################################################
# input config
##########################################################
img_width = 200
img_height = 66
img_channels = 3
##########################################################
# model selection
# "model_large" <-- nvidia dave-2 model
##########################################################
model_name = "model_large"
model_file = "models/{}-{}x{}x{}".format(model_name[6:], img_width, img_height, img_channels)
##########################################################
# recording config
##########################################################
rec_vid_file="out-video.avi"
rec_csv_file="out-key.csv"