Open
Description
After successfully make all
, I continue with make test
while getting this error:
src/caffe/FRCNN/data_augment/test_augment.cpp: In function 'int test_main()':
src/caffe/FRCNN/data_augment/test_augment.cpp:32:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
char *img_path = "test.jpg";
^
src/caffe/FRCNN/data_augment/test_augment.cpp:82:94: error: no matching function for call to 'data_augment(cv::Mat&, std::vector<std::vector<float> >&, int&, float&, float&, float&, float&, float&)'
Mat result = data_augment(origmat, rois, flip, jitter, rand_scale, hue, saturation, exposure);
^
src/caffe/FRCNN/data_augment/test_augment.cpp:82:94: note: candidates are:
In file included from src/caffe/FRCNN/data_augment/test_augment.cpp:2:0:
src/caffe/FRCNN/data_augment/data_utils.hpp:55:7: note: image data_augment(image, box_label*, int, int, int, int, float, float, float, float, float)
image data_augment(image orig, box_label *boxes, int num_boxes, int w, int h, int flip, float jitter, float scale, float hue, float saturation, float exposure);
^
src/caffe/FRCNN/data_augment/data_utils.hpp:55:7: note: candidate expects 11 arguments, 8 provided
src/caffe/FRCNN/data_augment/data_utils.hpp:56:9: note: cv::Mat data_augment(cv::Mat&, std::vector<std::vector<float> >&, int, float, float, bool, float, float, float)
cv::Mat data_augment(cv::Mat &orig, std::vector<std::vector<float> > &boxes, int flip, float jitter, float scale, bool random_rotate, float hue, float saturation, float exposure);
^
src/caffe/FRCNN/data_augment/data_utils.hpp:56:9: note: candidate expects 9 arguments, 8 provided
make: *** [.build_release/src/caffe/FRCNN/data_augment/test_augment.o] Error 1
make: *** Waiting for unfinished jobs....
Couldn't find any valid solution. Any suggestions? Many Thanks!
Metadata
Metadata
Assignees
Labels
No labels