Open ThisIsIsaac opened 5 years ago
@ThisIsIsaac Q1: The output map down sample the input to 1/2 size Q2: Region and affinity score is between 0~1 Q3: Random crop the image to 768*768 I think you can read the author's paper, you can get more details.
data_loader.py
,pull_item
function:and the function definition of
resizeGt
is:Why do you resize the scales to half the target size?
region_scores
andaffiity_scores
:why?
random_scale
usesself.target_size
as the minimum dimension size and uses1280
as the maximum. This means the image and char boxes can fit anywhere between 1280 andself.target_size
. So what happens if the image is larger than 768? How do you gurantee that it will be 768? You don't seem to rescale the image afterrandom_scale
.