Skip to content

goodPointP/saliencyPrediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

178 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Saliency Prediction

A project for Cognitive Science 3, 2021/22

The pipeline is controlled through the main.py file.

Instructions for running the code locally

  1. After cloning the repo, create a new conda env using conda create -n tf-gpu tensorflow-gpu
  2. Install the dependencies from requirements.txt
  3. Download the mask_rcnn_coco.h5 from https://github.com/matterport/Mask_RCNN/releases/download/v2.1/mask_rcnn_balloon.h5 and place it inside the models/ folder
  4. Specify path to .txt file containing paths to input images in main.py line 3
  5. Specify path to image folder in main.py line 4
  6. Create folder called 'imageSegmentationOut/'
  7. Run the main.py
  8. The compressed images will appear in the imageSegmentationOut directory

About

A project for Cognitive Science 3, 2021

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages