Skip to content

Commit c6756c0

Browse files
committed
redo first pull request
1 parent 3e0639f commit c6756c0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

modules/saliency/include/opencv2/saliency/saliencySpecializedClasses.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ class CV_EXPORTS_W DeepGaze1 : public StaticSaliency
180180
return computeSaliencyImpl( image, saliencyMap );
181181
}
182182
Mat saliencyMapGenerator( Mat, Size = Size(227, 227) );
183-
void training( std::vector<Mat>&, std::vector<Mat>&, unsigned = 100, double = 0.9, double = 0.01, double = 0.01, Size = Size(227, 227) );
183+
void training( std::vector<Mat>&, std::vector<Mat>&, int = 1, unsigned = 100, double = 0.9, double = 0.01, double = 0.01, Size = Size(227, 227) );
184184
double computeAUC( InputArray _saliencyMap, InputArray _fixtionMap );
185185
void saliencyMapVisualize( InputArray _saliencyMap );
186186
protected:

modules/saliency/src/DeepGaze1.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ double DeepGaze1::computeAUC( InputArray _saliencyMap, InputArray _fixtionMap )
267267
if ( saliency.empty() || fixtion.empty() || saliency.dims > 2 || fixtion.dims > 2 )
268268
{
269269
cout << "saliency map and fixtion map must be 1 channel and have same size" << endl;
270+
CV_
270271
return -1;
271272
}
272273

0 commit comments

Comments
 (0)