Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

This is a simple detection classification network. The network is converted from a classification network using sliding window technique. This network is able to be trained on cpu under 10 mins.

Notifications You must be signed in to change notification settings

Zheyu-Zhuang/SlidingWindowDetectionNN

Repository files navigation

SlidingWindowDetectionNN

image

Intro

The neural network that receives an image and returns a coarse heat map indicating where the animals are. This NN converts a classification convolutional neural netowork that infers class lables from small image patches to a detection module using 'sliding window' technique. The network is fast to train. Using the provided small dataset, the network is able to finish training under 10 mins with CPU.

If you want to see the network working, run python evaluate.py <image path> in the network subfolder. For example, python evaluate.py ./dataset_tools/example_raw_data/252.png.

To train the CNN, change the hyperparameters listed in nn_config.yml and execute python train.py

Difficulty Level: Convlutional Neural Network beginners

Environment:

  • opencv
  • pytorch
  • scipy
  • numpy
  • matplotlib
  • tqdm
  • PyYAML
  • Pillow

About

This is a simple detection classification network. The network is converted from a classification network using sliding window technique. This network is able to be trained on cpu under 10 mins.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages