Open chengshuai opened 4 years ago
The unit of all above parameters is the length of images.
For example, 0.05 means 30 pixels in a 600x600 image and 25.6 pixels in a 512x512 image. And SQUARED_DISTANCE_THRESH
is the squared results of the distance threshold, which is (10/600)^2.
These are hyperparameters. Some of them are collected from data. The rest of them, like thresholds, are manually set according to a prior knowledge.
For example, VSLOT_MIN_DIST
, VSLOT_MAX_DIST
, HSLOT_MIN_DIST
and HSLOT_MAX_DIST
are the two ranges of entrance-line distance mentioned in section 3.2 of the paper. These ranges are collected from the dataset ps2.0. SHORT_SEPARATOR_LENGTH
and LONG_SEPARATOR_LENGTH
are length of separating-lines corresponding to parallel parking-slots and vertical parking-slots. They are manually set according to a prior knowledge.
It is too trivial to explain where these thresholds are used and what for in here. And I believe it is fine to leave them unchanged unless your data is completely different from ours. If you wish to know the details, search and read the specific code for more information.
Hello Teoge,
I want to use my data training the model, but I do not understand the parameter in the config.py, how to calculate? the parameter:
Threshold used to filter marking points too close to image boundary
BOUNDARY_THRESH = 0.05##=3 pixel in 512 or 600????
Thresholds to determine whether an detected point match ground truth.
SQUARED_DISTANCE_THRESH = 0.000277778 #????????,paper is 10 pixel,but not, whether in 512 or 600. DIRECTION_ANGLE_THRESH = 0.5235987755982988 # 30 degree in rad in paper
?what stand by and how to calculate?
VSLOT_MIN_DIST = 0.044771278151623496 #???? VSLOT_MAX_DIST = 0.1099427457599304#????? HSLOT_MIN_DIST = 0.15057789144568634#????? HSLOT_MAX_DIST = 0.44449496544202816#?????
what stand by and how to calculate?
SHORT_SEPARATOR_LENGTH = 0.199519231##????? LONG_SEPARATOR_LENGTH = 0.46875##?????
angle_prediction_error = 0.1384059287593468 collected from evaluate.py, but what do the BRIDGE_ANGLE_DIFF and SEPARATOR_ANGLE_DIFF stand by and how to calculate????
BRIDGE_ANGLE_DIFF = 0.09757113548987695 + 0.1384059287593468 #0.09757113548987695-->5.59 SEPARATOR_ANGLE_DIFF = 0.284967562063968 + 0.1384059287593468 #0.284967562063968-->16.32, 0.1384059287593468-->7.93 degree to rad
I request you to provide some information for above regards.
Thanks, Shuai.