hackguy25 / ImgResize

A simple neural net for better image upscaling.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImgResize

A simple neural net for better image upscaling.

Made by Blaž Rojc (hackguy25) as a seminar assignment for Basics of Artificial Intelligence course.

Requirements

Usage

Testing

  1. Open test.py with a text editor and change the values kernelSize, stateName, src and out according to you needs.
  2. Execute the script using python test.py in your terminal of choice.
  • There are 2 pre-trained net states included, konv17_1 and konv25_1. They require kernelSize of 17 and 25, respectively.

Training

  1. Open test.py with a text editor and change the values kernelSize, stateName, src, processes, lr and lrExp according to you needs. If you are not sure about what to set them to, leave lr and lrExp as they are and set processes to number of phisical cores in your processor.
  2. Execute the script using python train.py in your terminal of choice.

About

A simple neural net for better image upscaling.

License:MIT License


Languages

Language:Python 100.0%