Skip to content

Commit 86961f7

Browse files
author
Lin Shao
committed
add point_set_selection_test
1 parent 4212d5f commit 86961f7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

point_set_selection/point_set_selection_test.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@
7373
gripper_feat_tf = tf.placeholder(tf.float32,[None,256 * 3])
7474

7575

76-
77-
7876
obj_pc_tf = tf.placeholder(tf.float32,[None,2048,3],'obj_pc')
7977

8078
rand_stage1_tf = tf.placeholder(tf.float32,[None, 2048],'rand_n')
@@ -768,7 +766,6 @@ def test(base=0):
768766
c_c[pred_c,0] = 0.0# Prediction Red
769767
c_c[pred_c,1] = 255.0
770768
showpoints(s_p,c_gt=c_c,waittime=5,freezerot=False) ### GRB
771-
input("raw")
772769

773770
# stage2
774771
if 1:
@@ -847,7 +844,6 @@ def test(base=0):
847844
gt_two_points_label_w = np.array(gt_two_points_label_w_list)
848845
gt_two_points_label_w = np.reshape(gt_two_points_label_w,[-1,TOP_K * TOP_K2])
849846

850-
#print(np.sum(gt_two_points_label))
851847
out_single_point_top_1024_index_v2, out_two_points_top_index, loss2 = sess.run([out_single_point_top_1024_index_tf, out_two_points_top_index_tf, loss_stage2],feed_dict={gt_two_points_label_w_tf: gt_two_points_label_w, gq_label_tf:stage1_gt_gq, gt_pcn_tf:in_objnor, gripper_feat_tf: in_gripper_feat, obj_pc_tf: in_objenv, gt_two_points_label_tf: gt_two_points_label})
852848
#out_single_point_top_1024_index_v2, out_two_points_top_index, loss2, _ = sess.run([out_single_point_top_1024_index_tf, out_two_points_top_index_tf, loss_stage2, train_op_stage2],feed_dict={gq_label_tf:stage1_gt_gq, gt_pcn_tf:in_objnor, gripper_feat_tf: in_gripper_feat, obj_pc_tf: in_objenv, gt_two_points_label_tf: gt_two_points_label,gt_two_points_label_w_tf: gt_two_points_label_w})
853849
train_loss_stage2 += loss2

0 commit comments

Comments
 (0)