frustum-pointnets icon indicating copy to clipboard operation
frustum-pointnets copied to clipboard

problems in "get_box3d_corners" in "model_utils.py"

Open Gebixiaochen opened this issue 6 years ago • 2 comments

line 109 in "Model_utils.py" : mean_sizes = tf.expand_dims(tf.constant(g_mean_size_arr, dtype=tf.float32), 0) + size_residuals #(B,NS,1)

  1. the shape of mean_sizes shouldn't be #(B,NS,3)?

  2. I do not understand why "mean_sizes" would be "g_mean_size_arr + size_residuals "? “g_mean_size_arr” isn't the ""mean_sizes" itself?

and in Line 110 why the sizes would be "mean_sizes + size_residuals"? Isn't it adds "size_residuals" for two times?

In Line 373: mean_sizes = tf.expand_dims(
tf.constant(g_mean_size_arr, dtype=tf.float32), 0) # (1,NS,3)

what's the difference between the two "mean_sizes"?

Hoping to get some reply!Thanks sincerely !

Gebixiaochen avatar Aug 14 '18 00:08 Gebixiaochen

I am also confused about the two "size_residuals" . @charlesq34

shuluoshu avatar Oct 15 '18 11:10 shuluoshu

@charlesq34 i have the same confusion

Sxs7513 avatar Aug 16 '19 07:08 Sxs7513