Coder Social home page Coder Social logo

dic's Introduction

DIC

深度图像压缩

主要的图像压缩模型文件参见rgb121Compress_new, rgbCom_new;

在文件夹内直接执行如下命令python xxx.py [argv]

argv:
  1. 使用哪个显卡;
  2. 0表示重新开始训练, 否则读取之前的模型;
  3. 学习率, Adam默认是1e-3;
  4. batchSize;
e.g. python 0.py 0 0 1e-3 16
e.g. python rec1.py 0 0 1e-3 2

其他相关文件

baseNet.py: 基本网络结构的定义;

bmpLoader.py: 加载数据集(训练集);

rgbCompress.py: 将RGB图片通过RGGB等形式进行处理;

pytorch_gdn: GDN层的pytorch实现;

pytorch_msssim: MS-SSIM的pytorch实现;

rgb121Compress: 之前科研过程中的图像压缩模型;

rgbCom: 之前科研过程中的ResNet复原模型;

models: 模型文件的存储地址;

log: 模型训练日志的存储地址;

log/data: 处理后的模型训练日志的存储地址.

移植到新环境中需要根据训练集和测试集地址修改bmpLoader.py与rgb121Compress_new/xxx.py中的对应内容.

dic's People

Contributors

lucifer2859 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

乾朗Jonathan  avatar  avatar

Forkers

ljw-xjtu

dic's Issues

报错

运行时,报无bmp文件。请问,bmp文件在哪获得。

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.