Giter Site home page Giter Site logo

torch_saliency_metrics's Introduction

torch_saliency_metrics

Evaluation Metrics for Visual Saliency Prediction Models

Welcome to the Evaluation Metrics section for Visual Saliency Prediction Models. This repository provides Python files that enable the evaluation of visual saliency prediction models using metrics inspired by the popular MIT Saliency Benchmark.

Introduction

Visual Saliency Prediction models are used to predict regions of interest or salient regions in images or videos, simulating human visual attention. Evaluating the performance of these models is crucial for understanding their effectiveness in various applications, such as image and video analysis.

This repository offers a versatile evaluation toolset, including a class called Evaluation_metrics(), designed to assess the quality of saliency predictions against ground truth fixation maps.

Getting Started

Before using the evaluation metrics provided here, make sure you have the following:

  1. PyTorch Dataloaders: You should have two PyTorch Dataloaders prepared:
    • One containing human fixation maps (ground truth).
    • Another containing model-generated saliency maps for evaluation.

Usage

To use the evaluation metrics in your project, follow these steps:

  1. Import the EvaluationMetrics class into your Python script after copying the file into your script folder.
from evals_ import Evaluation_metrics
  1. Create instances of the EvaluationMetrics class, specifying the names of your dataloaders for human fixation maps and model-generated saliency maps.
eval_metrics = Evaluation_metrics(human_dataloader, model_dataloader)

Contributing

We welcome contributions to improve and extend the functionality of this evaluation metrics toolset. If you have ideas for enhancements or bug fixes, please feel free to open an issue or submit a pull request.

License

This repository is provided under the MIT License, allowing you to use and modify the code for your evaluation needs.

Acknowledgments

This toolset is inspired by the MIT Saliency Benchmark and builds on the work of researchers in the field of visual saliency prediction. We acknowledge their contributions to the advancement of this area of computer vision.

Thank you for using our evaluation metrics for visual saliency prediction models. We hope it proves valuable in your research and applications.

torch_saliency_metrics's People

Contributors

sss3799 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.