Coder Social home page Coder Social logo

tjummg / be-auto-ext Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pengcm/be-auto-ext

22.0 1.0 0.0 11.96 MB

This is the project for our paper "CNN-based bit-depth enhancement by the suppression of false contour and color distortion

Python 100.00%

be-auto-ext's Introduction

BE-AUTO-ext

This is the project for our paper "CNN-based bit-depth enhancement by the suppression of false contour and color distortion

file description: "BE-AUTO-ext": the implementation of our paper "CNN-based bit-depth enhancement by the suppression of false contour and color distortion".

experiment environent: GTX 1050Ti 3G tensorflow-2.0-alpha tensorlayer-2.0.1

acknowledgement: https://github.com/tensorlayer/srgan

how to use:

1.train: a. you can set yout own parameters in config.py. e.g. your can use your own data set to train by set" config.TRAIN.hr_img_path='path of your data set'" b.the first time you run 'train', the code will automatically download trained 'vgg-19', if it takes too long, you can download it manually from https://mega.nz/#!xZ8glS6J!MAnE91ND_WyfZ_8mvkuSa2YcA7q-1ehfSm-Q1fxOvvs and put it in a folder named 'models' c. in your command line, type: python train.py

test: in your command line,type:python train.py --mode evaluate

Possible bugs under windows:

a. "NameError: name 'glob' is not defined" HOW TO FIX: put 'import glob' on a new line, instead of on the line 1 with other packages. The same problem may occur for "os" package.

b."FileNotFoundError: file checkpoint/g_srgan.h5 dosen't exist" HOW TO FIX: check the path of your checkpoint file. You need to confirm whether to use absolute or relative paths.

c."InvalidArgumentError: Incompatible shapes: [0] vs. [3]" HOW TO FIX: check your dataset to see wether every image meets data integrity.

network model:maze results:maze maze maze maze maze maze maze maze

be-auto-ext's People

Contributors

pengcm avatar

Stargazers

 avatar  avatar  avatar Tianbao Li avatar  avatar  avatar Xin Wen avatar Wangwk97 avatar  avatar 手扶拖拉机斯基 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar Chang avatar Yuri avatar  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.