Gorilla-Lab-SCUT/frustum-convnet

gnuplot not found

sarimmehdi opened this issue · 1 comments

Hello, when I run the bash scripts/eval_pretrained_models.sh, I get the following error towards the end:

load dataset from pretrained_models/car/val_nms/result/frustum_caronly_val_rgb_detection_refine.pickle
=> loaded checkpoint 'pretrained_models/car_refine/model_0050.pth')
0/1 0.045
Average time:
batch:0.045
avg_per_object:0.001
avg_per_image:0.023
./train/kitti_eval/evaluate_object_3d_offline data/kitti/training/label_2/ pretrained_models/car_refine/val_nms/result 2>&1 | tee -a  pretrained_models/car_refine/val_nms/result/log_test.txt
sh: 1: gnuplot: not found
sh: 1: gnuplot: not found
Error: /undefinedfilename in (car_detection.eps)
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push
Dictionary stack:
   --dict:960/1684(ro)(G)--   --dict:0/20(G)--   --dict:77/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
GPL Ghostscript 9.26: Unrecoverable error, exit code 1
sh: 1: pdfcrop: not found
sh: 1: gnuplot: not found
sh: 1: gnuplot: not found
Error: /undefinedfilename in (car_detection_ground.eps)
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push
Dictionary stack:
   --dict:960/1684(ro)(G)--   --dict:0/20(G)--   --dict:77/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
GPL Ghostscript 9.26: Unrecoverable error, exit code 1
sh: 1: pdfcrop: not found
sh: 1: gnuplot: not found
sh: 1: gnuplot: not found
Error: /undefinedfilename in (car_detection_3d.eps)
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push
Dictionary stack:
   --dict:960/1684(ro)(G)--   --dict:0/20(G)--   --dict:77/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
GPL Ghostscript 9.26: Unrecoverable error, exit code 1
sh: 1: pdfcrop: not found
Thank you for participating in our evaluation!
Loading detections...
number of files for evaluation: 154
  done.
save pretrained_models/car_refine/val_nms/result/plot/car_detection.txt
car_detection AP: 0.000000 0.000000 0.000000
Finished 2D bounding box eval.
Going to eval ground for class: car
save pretrained_models/car_refine/val_nms/result/plot/car_detection_ground.txt
car_detection_ground AP: 0.000000 0.000000 0.000000
Finished Birdeye eval.
Going to eval 3D box for class: car
save pretrained_models/car_refine/val_nms/result/plot/car_detection_3d.txt
car_detection_3d AP: 0.000000 0.000000 0.000000
Finished 3D bounding box eval.
Your evaluation results are available at:
pretrained_models/car_refine/val_nms/result

Why am I getting this error and how can I resolve this? Thank you!

Have you solved this?