# iccv2019-fmeasure **Repository Path**: HEART1/iccv2019-fmeasure ## Basic Information - **Project Name**: iccv2019-fmeasure - **Description**: Code accompanying the paper Optimizing the F-measure for Threshold-free Salient Object Detection. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2019-10-22 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

Optimizing the F-measure for Threshold-free Salient Object Detection

Code accompanying the paper **Optimizing the F-measure for Threshold-free Salient Object Detection**.
## Howto 1. Download and build [caffe](https://github.com/bvlc/caffe) with python interface; 2. Download the MSRA-B dataset to `data/` and the initial [VGG weights](http://data.kaizhao.net/projects/fmeasure-saliency/vgg16convs.caffemodel) to `model/` 3. Generate network and solver prototxt via `python model/fdss.py`; 4. Start training the DSS+FLoss model with `python train.py --solver tmp/fdss_beta0.80_aug_solver.pt` ## Loss surface The proposed FLoss holds considerable gradients even in the saturated area, resulting in polarized predictions that are stable against the threshold.

Loss surface of FLoss (left), Log-FLoss (mid) and Cross-entropy loss (right). FLoss holds larger gradients in the saturated area, leading to high-contrast predictions.

## Example detection results

Several detection results. Our method results in high-contrast detections.

## Stability against threshold

FLoss (solid lines) achieves high F-measure under a larger range of thresholds, presenting stability against the changing of threshold.

## Pretrained models For pretrained models and evaluation results, please visit . ___ If you have any problem using this code, please contact [Kai Zhao](http://kaizhao.net).