witignite / Frustum-PointNet

Apache License 2.0
3 stars 0 forks source link

Error while running evaluaiton of Frustum Poinet #8

Open giangnguyen2412 opened 5 years ago

giangnguyen2412 commented 5 years ago

Training is ok but when I run evaluation by this command:

CUDA_VISIBLE_DEVICES=0 sh scripts/command_test_v1.sh

This error log exposed:

Number of point clouds: 25392                                                                          
+ train/kitti_eval/evaluate_object_3d_offline /home/dexter/P/DataSet/KITTI/object_detect_3d/
el_2/ train/detection_results_v1                                                                    
Thank you for participating in our evaluation!                                                        
Loading detections...                                                                                
number of files for evaluation: 3769                                                           
ERROR: Couldn't read: 005449.txt of ground truth. Please write me an email!                            
An error occured while processing your results.
witignite commented 5 years ago

The error message is printed by function eval in evaluate_object_3d_offline.cpp, line 835-843:

bool eval(string gt_dir, string result_dir, Mail* mail){
  ...
  ...
    // read ground truth and result poses
    bool gt_success,det_success;
    vector<tGroundtruth> gt   = loadGroundtruth(gt_dir + "/" + file_name,gt_success);
    vector<tDetection>   det  = loadDetections(result_dir + "/data/" + file_name,
            compute_aos, eval_image, eval_ground, eval_3d, det_success);
    groundtruth.push_back(gt);
    detections.push_back(det);

    // check for errors
    if (!gt_success) {
      mail->msg("ERROR: Couldn't read: %s of ground truth. Please write me an email!", file_name);
      return false;
    }
    if (!det_success) {
      mail->msg("ERROR: Couldn't read: %s", file_name);
      return false;
    }
  ...
  ...

I guess it couldn't read 005449.txt file in gt_dir directory. Can you check if that file is really in gt_dir?