larger init randomness

This commit is contained in:
hzyjerry 2017-11-14 23:34:52 -08:00
parent 2482397c88
commit fafb31b078
1 changed files with 8 additions and 2 deletions

View File

@ -7,6 +7,7 @@ RANDOM_TARGET_POSE = True
CHOOSE_SMALL_RANDOM_RANGE = False
CHOOSE_TINY_RANDOM_RANGE = False
CHOOSE_MID_RANDOM_RANGE = False
CHOOSE_MID_RANDOM_RANGE = False
CHOOSE_SMALL_LEARNING_RATE = True
@ -28,13 +29,18 @@ elif CHOOSE_MID_RANDOM_RANGE:
RANDOM_INITIAL_RANGE_Y = [-0.1, 0.1]
RANDOM_INITIAL_RANGE_Z = [0, 0.2]
RANDOM_INITIAL_RANGE_DEG = [-np.pi/4, np.pi/4]
else:
elif CHOOSE_MID_RANDOM_RANGE:
RANDOM_TARGET_RANGE = 0.5
RANDOM_INITIAL_RANGE_X = [-0.4, 0.1]
RANDOM_INITIAL_RANGE_Y = [-0.1, 0.1]
RANDOM_INITIAL_RANGE_Z = [0, 0.4]
RANDOM_INITIAL_RANGE_DEG = [-np.pi/2, np.pi/2]
else:
RANDOM_TARGET_RANGE = 1
RANDOM_INITIAL_RANGE_X = [-0.6, 0.1]
RANDOM_INITIAL_RANGE_Y = [-0.1, 0.1]
RANDOM_INITIAL_RANGE_Z = [0, 0.4]
RANDOM_INITIAL_RANGE_DEG = [-2 *np.pi/3, 2* np.pi/3]
if CHOOSE_SMALL_LEARNING_RATE:
LEARNING_RATE = 3e-6